mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Correct minor oversights from last commit.
This commit is contained in:
parent
de7db04d0c
commit
c3b1baa89f
@ -27,6 +27,8 @@
|
||||
#include <ldap.h>
|
||||
#include <ldif.h>
|
||||
|
||||
#include <ldapconfig.h>
|
||||
|
||||
static char *prog;
|
||||
static char *binddn = NULL;
|
||||
static char *passwd = NULL;
|
||||
|
@ -189,7 +189,7 @@ hash_crypt (const char *pw_in, Salt * salt)
|
||||
crypted_pw = crypt (pw_in, (char *)lsalt.salt);
|
||||
free (lsalt.salt);
|
||||
}
|
||||
return (STRDUP (crypted_pw));
|
||||
return (strdup (crypted_pw));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user