summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-02-04 11:18:20 +1100
committerDamien Miller <djm@mindrot.org>2014-02-04 11:18:20 +1100
commit1d2c4564265ee827147af246a16f3777741411ed (patch)
treeaf83ab151453d013118cd1bd20fb8ba887665fed /sshconnect2.c
parent3928de067c286683a95fbdbdb5fdb3c78a0e5efd (diff)
- tedu@cvs.openbsd.org 2014/01/31 16:39:19
[auth2-chall.c authfd.c authfile.c bufaux.c bufec.c canohost.c] [channels.c cipher-chachapoly.c clientloop.c configure.ac hostfile.c] [kexc25519.c krl.c monitor.c sandbox-systrace.c session.c] [sftp-client.c ssh-keygen.c ssh.c sshconnect2.c sshd.c sshlogin.c] [openbsd-compat/explicit_bzero.c openbsd-compat/openbsd-compat.h] replace most bzero with explicit_bzero, except a few that cna be memset ok djm dtucker
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 8343db10e..c60a8511b 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.202 2014/01/29 06:18:35 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.203 2014/01/31 16:39:19 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1190,7 +1190,7 @@ pubkey_prepare(Authctxt *authctxt)
1190 /* If IdentitiesOnly set and key not found then don't use it */ 1190 /* If IdentitiesOnly set and key not found then don't use it */
1191 if (!found && options.identities_only) { 1191 if (!found && options.identities_only) {
1192 TAILQ_REMOVE(&files, id, next); 1192 TAILQ_REMOVE(&files, id, next);
1193 bzero(id, sizeof(*id)); 1193 explicit_bzero(id, sizeof(*id));
1194 free(id); 1194 free(id);
1195 } 1195 }
1196 } 1196 }