]> andersk Git - openssh.git/blobdiff - ssh-add.c
- markus@cvs.openbsd.org 2001/04/14 16:27:57
[openssh.git] / ssh-add.c
index 8032cd24fae846a200a6df3417e201ebe767fef2..2ac2c2515081640e182dc53f5af8aea62a19445c 100644 (file)
--- a/ssh-add.c
+++ b/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>
 
@@ -187,8 +187,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;
                        }
This page took 0.03087 seconds and 4 git commands to generate.