diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: ssh-add.c,v 1.34 2001/04/14 04:31:01 deraadt Exp $"); | 38 | RCSID("$OpenBSD: ssh-add.c,v 1.35 2001/04/14 16:27:57 markus Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -187,8 +187,7 @@ add_file(AuthenticationConnection *ac, const char *filename) | |||
187 | pass = ssh_askpass(askpass, msg); | 187 | pass = ssh_askpass(askpass, msg); |
188 | } | 188 | } |
189 | if (strcmp(pass, "") == 0) { | 189 | if (strcmp(pass, "") == 0) { |
190 | xfree(pass); | 190 | clear_pass(); |
191 | pass = NULL; | ||
192 | xfree(comment); | 191 | xfree(comment); |
193 | return; | 192 | return; |
194 | } | 193 | } |