X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/5b5d170cd9490d1e44f2202ce391258ba739e1fa..613021aca5a3898043356cefcac10b92692e7a9f:/readpass.c?ds=sidebyside diff --git a/readpass.c b/readpass.c index 10171cf6..4eeeed91 100644 --- a/readpass.c +++ b/readpass.c @@ -32,7 +32,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readpass.c,v 1.19 2001/06/24 05:35:33 markus Exp $"); +RCSID("$OpenBSD: readpass.c,v 1.20 2001/07/02 22:29:20 markus Exp $"); #include "xmalloc.h" #include "readpass.h" @@ -117,7 +117,7 @@ read_passphrase(const char *prompt, int flags) } if (readpassphrase(prompt, buf, sizeof buf, rppflags) == NULL) - return NULL; + return xstrdup(""); ret = xstrdup(buf); memset(buf, 'x', sizeof buf);