Skip to content
Snippets Groups Projects
Commit b00f3fa7 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix ITS#3805

parent 8292182d
Branches
Tags
No related merge requests found
......@@ -510,8 +510,10 @@ static int slapd_crypt( const char *key, const char *salt, char **hash )
if ( hash ) {
*hash = ber_strdup( cr );
rc = LUTIL_PASSWD_OK;
} else {
rc = strcmp( salt, cr ) ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK;
}
rc = strcmp( salt, cr ) ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK;
}
ldap_pvt_thread_mutex_unlock( &passwd_mutex );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment