From: Howard Chu Date: Fri, 13 Oct 2000 00:54:05 +0000 (+0000) Subject: Fix TLSVerifyClient. Applied in wrong branch before. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1761 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=004f4f326061419e0339970da2c45c66d9524101;p=openldap Fix TLSVerifyClient. Applied in wrong branch before. --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index f73607314a..53907bbc06 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1127,9 +1127,10 @@ read_config( const char *fname ) if ( rc ) return rc; } else if ( !strcasecmp( cargv[0], "TLSVerifyClient" ) ) { + i = atoi(cargv[1]); rc = ldap_pvt_tls_set_option( NULL, LDAP_OPT_X_TLS_REQUIRE_CERT, - cargv[1] ); + &i ); if ( rc ) return rc;