From: Julio Sánchez Fernández Date: Tue, 20 Jul 1999 18:05:50 +0000 (+0000) Subject: Add support for TLSVerifyClient. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=288a28a762d29dba347df29c88938d47a6fe08e3;p=openldap Add support for TLSVerifyClient. --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 873f2d16c2..f05fd08691 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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