mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 02:42:25 +00:00
- markus@cvs.openbsd.org 2001/04/14 16:27:57
[ssh-add.c] use clear_pass instead of xfree()
This commit is contained in:
parent
d334b2768b
commit
7457f2af01
@ -6,6 +6,9 @@
|
||||
- markus@cvs.openbsd.org 2001/04/14 16:17:14
|
||||
[channels.c]
|
||||
remove some channels that are not appropriate for keepalive.
|
||||
- markus@cvs.openbsd.org 2001/04/14 16:27:57
|
||||
[ssh-add.c]
|
||||
use clear_pass instead of xfree()
|
||||
|
||||
20010414
|
||||
- Sync with OpenBSD glob.c, strlcat.c and vis.c changes
|
||||
@ -5072,4 +5075,4 @@
|
||||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.1112 2001/04/14 23:08:36 mouring Exp $
|
||||
$Id: ChangeLog,v 1.1113 2001/04/14 23:10:09 mouring Exp $
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user