diff options
author | 2014-01-31 16:39:19 +0000 | |
---|---|---|
committer | 2014-01-31 16:39:19 +0000 | |
commit | 69881b76d0c289ef55f1413f12e4edc540897517 (patch) | |
tree | a580c269d7cb29b6f8a93163294a60c915fbdb55 /usr.bin/ssh/sshconnect2.c | |
parent | @md5 annotations died at the end of 2008, so it's reasonable to scrape the (diff) | |
download | wireguard-openbsd-69881b76d0c289ef55f1413f12e4edc540897517.tar.xz wireguard-openbsd-69881b76d0c289ef55f1413f12e4edc540897517.zip |
replace most bzero with explicit_bzero, except a few that cna be memset
ok djm dtucker
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 00cc89033d8..85c6717b6fa 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.202 2014/01/29 06:18:35 djm Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.203 2014/01/31 16:39:19 tedu Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -1184,7 +1184,7 @@ pubkey_prepare(Authctxt *authctxt) /* If IdentitiesOnly set and key not found then don't use it */ if (!found && options.identities_only) { TAILQ_REMOVE(&files, id, next); - bzero(id, sizeof(*id)); + explicit_bzero(id, sizeof(*id)); free(id); } } |