]> git.sur5r.net Git - openldap/commitdiff
Add support for TLSVerifyClient.
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 20 Jul 1999 18:05:50 +0000 (18:05 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 20 Jul 1999 18:05:50 +0000 (18:05 +0000)
servers/slapd/config.c

index 873f2d16c23a411e3c7dad2304142cf976bc5c2c..f05fd086916cf01fa49ed3ec74e2f07de255831d 100644 (file)
@@ -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