Commit efba08cb authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5955 fix

warnings fix
parent ae9c14c8
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.15 Engineering
Fixed libldap GnuTLS compilation (ITS#5955)
Fixed slapd corrupt contextCSN (ITS#5947)
Fixed slapo-rwm objectClass preservation (ITS#5760)
......
......@@ -143,7 +143,6 @@ void
ldap_pvt_tls_destroy( void )
{
struct ldapoptions *lo = LDAP_INT_GLOBAL_OPT();
int i;
ldap_int_tls_destroy( lo );
......@@ -179,8 +178,6 @@ tls_init(tls_impl *impl )
int
ldap_pvt_tls_init( void )
{
struct ldapoptions *lo = LDAP_INT_GLOBAL_OPT();
return tls_init( tls_imp );
}
......@@ -190,7 +187,7 @@ ldap_pvt_tls_init( void )
static int
ldap_int_tls_init_ctx( struct ldapoptions *lo, int is_server )
{
int i, rc = 0;
int rc = 0;
tls_impl *ti = tls_imp;
struct ldaptls lts = lo->ldo_tls_info;
......@@ -638,9 +635,11 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
case LDAP_OPT_X_TLS_REQUIRE_CERT:
*(int *)arg = lo->ldo_tls_require_cert;
break;
#ifdef HAVE_OPENSSL_CRL
case LDAP_OPT_X_TLS_CRLCHECK: /* OpenSSL only */
*(int *)arg = lo->ldo_tls_crlcheck;
break;
#endif
case LDAP_OPT_X_TLS_CIPHER_SUITE:
*(char **)arg = lo->ldo_tls_ciphersuite ?
LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment