aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_pwdb
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_pwdb')
-rw-r--r--modules/pam_pwdb/pam_unix_md.-c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_pwdb/pam_unix_md.-c b/modules/pam_pwdb/pam_unix_md.-c
index d9b2c51b..65476732 100644
--- a/modules/pam_pwdb/pam_unix_md.-c
+++ b/modules/pam_pwdb/pam_unix_md.-c
@@ -65,7 +65,7 @@ static char *_pam_md_compat(const char *key, const char *salt)
x = x_strdup(e); /* put e in malloc()ed memory */
_pam_overwrite(e); /* clean up */
} else {
- x = x_strdup("*");
+ x = x_strdup(""); /* called from only one place so this is safe */
}
return x; /* this must be deleted elsewhere */