mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-04-23 23:55:56 +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
|
- markus@cvs.openbsd.org 2001/04/14 16:17:14
|
||||||
[channels.c]
|
[channels.c]
|
||||||
remove some channels that are not appropriate for keepalive.
|
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
|
20010414
|
||||||
- Sync with OpenBSD glob.c, strlcat.c and vis.c changes
|
- Sync with OpenBSD glob.c, strlcat.c and vis.c changes
|
||||||
@ -5072,4 +5075,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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"
|
#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>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
@ -187,8 +187,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
|
|||||||
pass = ssh_askpass(askpass, msg);
|
pass = ssh_askpass(askpass, msg);
|
||||||
}
|
}
|
||||||
if (strcmp(pass, "") == 0) {
|
if (strcmp(pass, "") == 0) {
|
||||||
xfree(pass);
|
clear_pass();
|
||||||
pass = NULL;
|
|
||||||
xfree(comment);
|
xfree(comment);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user