]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit, lutil_passwd_scheme() returns boolean, not pointer.
authorHoward Chu <hyc@openldap.org>
Mon, 18 Mar 2002 08:56:47 +0000 (08:56 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 18 Mar 2002 08:56:47 +0000 (08:56 +0000)
servers/slapd/config.c

index e1fb33250580d7591508b9494314ef29ee6857e5..b9badcaed7a195a8fc0c87da0ef9b79a0826b0b7 100644 (file)
@@ -522,7 +522,7 @@ read_config( const char *fname )
 
                        }
 
-                       if ( lutil_passwd_scheme( cargv[1] ) == NULL ) {
+                       if ( lutil_passwd_scheme( cargv[1] ) == 0 ) {
 #ifdef NEW_LOGGING
                                LDAP_LOG(( "config", LDAP_LEVEL_CRIT,
                                           "%s: line %d: password scheme \"%s\" not available\n",