]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/options.c
ITS#1708 ldap_pvt_tls_sb_ctx() et al
[openldap] / libraries / libldap / options.c
index 3360fa3ab49f83a0a0ae943c7165378d3ce98a2e..7e6de7f206c5606d6e0524ab1b38d65c70b80ab1 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -585,7 +585,7 @@ ldap_set_option(
 
        default:
 #ifdef HAVE_TLS
-               if ( ldap_pvt_tls_set_option( lo, option, (void *)invalue ) == 0 )
+               if ( ldap_pvt_tls_set_option( ld, option, (void *)invalue ) == 0 )
                return LDAP_OPT_SUCCESS;
 #endif
 #ifdef HAVE_CYRUS_SASL