diff options
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 24ee85c2d6b..a40aa5d567a 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.34 2001/04/14 04:31:01 deraadt Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.35 2001/04/14 16:27:57 markus Exp $"); #include <openssl/evp.h> @@ -181,8 +181,7 @@ add_file(AuthenticationConnection *ac, const char *filename) pass = ssh_askpass(askpass, msg); } if (strcmp(pass, "") == 0) { - xfree(pass); - pass = NULL; + clear_pass(); xfree(comment); return; } |