ITS#7645 use ldap_pvt_tls_config for TLSProtocolMin

This commit is contained in:
Howard Chu 2013-07-29 07:04:03 -07:00
parent c6cf495247
commit 115460ae53

View 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",