diff options
Diffstat (limited to 'usr.bin/ssh/readpass.c')
-rw-r--r-- | usr.bin/ssh/readpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readpass.c b/usr.bin/ssh/readpass.c index 3b6ed72babc..7ab205f8f66 100644 --- a/usr.bin/ssh/readpass.c +++ b/usr.bin/ssh/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 <readpassphrase.h> @@ -119,7 +119,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); |