From: Howard Chu Date: Wed, 10 May 2000 21:02:46 +0000 (+0000) Subject: Add ld parameter to ldap_pvt_tls_start invocations. See tls.c... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3031 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a586d4e4958d0ae871039301828dddb6587f935;p=openldap Add ld parameter to ldap_pvt_tls_start invocations. See tls.c... --- diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index 349df3808e..29a9dded37 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -252,7 +252,7 @@ ldap_start_tls ( LDAP *ld, LDAP_FREE(rspoid); if (rspdata != NULL) ber_bvfree(rspdata); - rc = ldap_pvt_tls_start( lc->lconn_sb, ld->ld_options.ldo_tls_ctx ); + rc = ldap_pvt_tls_start( ld, lc->lconn_sb, ld->ld_options.ldo_tls_ctx ); if (rc != LDAP_SUCCESS) return rc; } @@ -309,7 +309,7 @@ open_ldap_connection( LDAP *ld, Sockbuf *sb, LDAPURLDesc *srv, tls = (srv->lud_properties & LDAP_URL_USE_SSL); if ( tls != 0 ) { - rc = ldap_pvt_tls_start( sb, ld->ld_options.ldo_tls_ctx ); + rc = ldap_pvt_tls_start( ld, sb, ld->ld_options.ldo_tls_ctx ); if (rc != LDAP_SUCCESS) return rc; }