]> git.sur5r.net Git - openldap/commitdiff
Add ld parameter to ldap_pvt_tls_start invocations. See tls.c...
authorHoward Chu <hyc@openldap.org>
Wed, 10 May 2000 21:02:46 +0000 (21:02 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 10 May 2000 21:02:46 +0000 (21:02 +0000)
libraries/libldap/open.c

index 349df3808e516614dc38b024237b5834b30395e9..29a9dded377239a73eb2237ea82fd988ab23dac6 100644 (file)
@@ -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;
        }