From: Ben Collins Date: Wed, 13 Sep 2000 21:46:11 +0000 (+0000) Subject: s/got_max_ssf/got_min_ssf/ thinko fix when checking for minssf. In this case, minssf... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2024 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07ce0a9935de91a61ef473cfbd1e3250112c8af2;p=openldap s/got_max_ssf/got_min_ssf/ thinko fix when checking for minssf. In this case, minssf was never set, and would cause maxssh to be set in error --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index c63bc37da7..058523f42e 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -697,7 +697,7 @@ int ldap_pvt_sasl_secprops( "minssf=", sizeof("minssf")) ) { if( isdigit( props[i][sizeof("minssf")] ) ) { - got_max_ssf++; + got_min_ssf++; min_ssf = atoi( &props[i][sizeof("minssf")] ); } else { return LDAP_NOT_SUPPORTED;