]> git.sur5r.net Git - openldap/commitdiff
ITS#7645 use ldap_pvt_tls_config for TLSProtocolMin
authorHoward Chu <hyc@openldap.org>
Mon, 29 Jul 2013 14:04:03 +0000 (07:04 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 29 Jul 2013 19:35:34 +0000 (12:35 -0700)
servers/slapd/bconfig.c

index c1c69a23371c8c78a0ea45a30f1e6f1aa4c79ec4..931ae9ff630c3a2c90ee7f82799209c6213b1e46 100644 (file)
@@ -3859,7 +3859,7 @@ config_tls_config(ConfigArgs *c) {
        }
        ch_free( c->value_string );
        c->cleanup = config_tls_cleanup;
-       if ( isdigit( (unsigned char)c->argv[1][0] ) ) {
+       if ( isdigit( (unsigned char)c->argv[1][0] ) && c->type != CFG_TLS_PROTOCOL_MIN ) {
                if ( lutil_atoi( &i, c->argv[1] ) != 0 ) {
                        Debug(LDAP_DEBUG_ANY, "%s: "
                                "unable to parse %s \"%s\"\n",