]> git.sur5r.net Git - openldap/commitdiff
Correct minor oversights from last commit.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 29 May 1999 19:08:57 +0000 (19:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 29 May 1999 19:08:57 +0000 (19:08 +0000)
clients/tools/ldapmodify.c
clients/tools/ldappasswd.c

index 6c2f2b118c61a1f6fa7f505167dff46fe9b52421..aa273848bc1dfcb95d992b2038d65b537cb9af93 100644 (file)
@@ -27,6 +27,8 @@
 #include <ldap.h>
 #include <ldif.h>
 
+#include <ldapconfig.h>
+
 static char    *prog;
 static char    *binddn = NULL;
 static char    *passwd = NULL;
index 597d5d1ecbaf138c023b15df0f41006bcc4367bc..a3e37e1f49b4106789ba7dffe5cd5dedc35646df 100644 (file)
@@ -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