mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Add support for TLSVerifyClient.
This commit is contained in:
parent
504038ffac
commit
288a28a762
@ -631,6 +631,12 @@ read_config( char *fname )
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
} else if ( !strcasecmp( cargv[0], "TLSVerifyClient" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_REQUIRE_CERT,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user