]> git.sur5r.net Git - openldap/commitdiff
*ssf > 1 should be *ssf > 0
authorKurt Zeilenga <kurt@openldap.org>
Fri, 14 Jul 2000 04:35:13 +0000 (04:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 14 Jul 2000 04:35:13 +0000 (04:35 +0000)
libraries/libldap/cyrus.c

index fb2c790b0dac772615fe97545b81e342b9411add..efb51720a4f2f3753b5674e3494663f1f66253d1 100644 (file)
@@ -599,7 +599,7 @@ ldap_int_sasl_bind(
                        (unsigned long) *ssf );
 
 #ifdef LDAP_SASL_SECURITY_LAYER
-               if( ssf && *ssf > 1 ) {
+               if( ssf && *ssf ) {
                        fprintf( stderr, "SASL installing layers\n" );
                        ldap_pvt_sasl_install( ld->ld_sb, ctx );
                }