summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 8032cd24f..2ac2c2515 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: ssh-add.c,v 1.34 2001/04/14 04:31:01 deraadt Exp $"); 38RCSID("$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 }