diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-15 06:35:55 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-15 06:35:55 +0000 |
commit | aeeb91a447bd00da517adc5508f9d0337d3cb075 (patch) | |
tree | 617df99515e09b270c7addf59953077bd23017de | |
parent | 61a63a072ce534dc895da11f0126b1b6561f26ed (diff) |
A classic case for bzero() -> explicit_bzero()
ok deraadt@
-rw-r--r-- | sbin/isakmpd/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/hash.c b/sbin/isakmpd/hash.c index aa8de2afb6a..8c535374aa4 100644 --- a/sbin/isakmpd/hash.c +++ b/sbin/isakmpd/hash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hash.c,v 1.23 2013/03/21 04:30:14 deraadt Exp $ */ +/* $OpenBSD: hash.c,v 1.24 2015/10/15 06:35:54 mmcc Exp $ */ /* $EOM: hash.c,v 1.10 1999/04/17 23:20:34 niklas Exp $ */ /* @@ -148,7 +148,7 @@ hmac_init(struct hash *hash, unsigned char *okey, unsigned int len) hash->Init(hash->ctx2); hash->Update(hash->ctx2, key, blocklen); - bzero(key, blocklen); + explicit_bzero(key, blocklen); } /* |