]> 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)
committerHoward Chu <hyc@openldap.org>
Mon, 29 Jul 2013 14:04:03 +0000 (07:04 -0700)
servers/slapd/bconfig.c

index def6daf20135d49a56c03eae2c7c9f56482104a8..c6f45bc46c9b66770ff49251ae870ca4b651d39d 100644 (file)
@@ -4067,7 +4067,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",