diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-14 23:10:09 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-14 23:10:09 +0000 |
commit | 7457f2af01d77c4bdeaef3a6c211bb2f1e215a9c (patch) | |
tree | 978ea03111a2da9b8b119a22ec3408f9e995f5dd /ssh-add.c | |
parent | d334b2768b80640d3b9aa229332482ae572d08ad (diff) |
- markus@cvs.openbsd.org 2001/04/14 16:27:57
[ssh-add.c]
use clear_pass instead of xfree()
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |