Fix, the TLSVerifyClient option was not evaluated correctly and could never

be turned off. (It defaults to off, so if you never mentioned it, it would
stay off. But if you tried "TLSVerifyClient 0" it would turn on.)
This commit is contained in:
Howard Chu 2000-10-12 15:21:22 +00:00
parent 65097865c7
commit 41b1753c9b

View File

@ -1080,9 +1080,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;