mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Fix TLSVerifyClient. Applied in wrong branch before.
This commit is contained in:
parent
2a6f092422
commit
004f4f3260
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue