From 7a586d4e4958d0ae871039301828dddb6587f935 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 10 May 2000 21:02:46 +0000 Subject: [PATCH] Add ld parameter to ldap_pvt_tls_start invocations. See tls.c... --- libraries/libldap/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5