diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh-add.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -6,6 +6,9 @@ | |||
6 | - markus@cvs.openbsd.org 2001/04/14 16:17:14 | 6 | - markus@cvs.openbsd.org 2001/04/14 16:17:14 |
7 | [channels.c] | 7 | [channels.c] |
8 | remove some channels that are not appropriate for keepalive. | 8 | remove some channels that are not appropriate for keepalive. |
9 | - markus@cvs.openbsd.org 2001/04/14 16:27:57 | ||
10 | [ssh-add.c] | ||
11 | use clear_pass instead of xfree() | ||
9 | 12 | ||
10 | 20010414 | 13 | 20010414 |
11 | - Sync with OpenBSD glob.c, strlcat.c and vis.c changes | 14 | - Sync with OpenBSD glob.c, strlcat.c and vis.c changes |
@@ -5072,4 +5075,4 @@ | |||
5072 | - Wrote replacements for strlcpy and mkdtemp | 5075 | - Wrote replacements for strlcpy and mkdtemp |
5073 | - Released 1.0pre1 | 5076 | - Released 1.0pre1 |
5074 | 5077 | ||
5075 | $Id: ChangeLog,v 1.1112 2001/04/14 23:08:36 mouring Exp $ | 5078 | $Id: ChangeLog,v 1.1113 2001/04/14 23:10:09 mouring Exp $ |
@@ -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 | } |