]> git.sur5r.net Git - openldap/commitdiff
Fix TLSVerifyClient. Applied in wrong branch before.
authorHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2000 00:54:05 +0000 (00:54 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Oct 2000 00:54:05 +0000 (00:54 +0000)
servers/slapd/config.c

index f73607314a73d3e8e066ed3cd05f94d83bf25b22..53907bbc06e1c9a1e84d9a1a3bf956f78eb62af3 100644 (file)
@@ -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;