summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac/hm_pmeth.c
diff options
context:
space:
mode:
authorjsing <>2015-09-10 15:56:26 +0000
committerjsing <>2015-09-10 15:56:26 +0000
commit647569a51c1530d10e75e272f0982682f696caa7 (patch)
tree27c1922db8e3f519794fe6a13a1dfba3d4759090 /src/lib/libcrypto/hmac/hm_pmeth.c
parent82208d32389873dc0a35e1efb027536202112bf6 (diff)
downloadopenbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.gz
openbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.bz2
openbsd-647569a51c1530d10e75e272f0982682f696caa7.zip
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/hmac/hm_pmeth.c')
-rw-r--r--src/lib/libcrypto/hmac/hm_pmeth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hmac/hm_pmeth.c b/src/lib/libcrypto/hmac/hm_pmeth.c
index 255f4ece8b..c5ac6c00c0 100644
--- a/src/lib/libcrypto/hmac/hm_pmeth.c
+++ b/src/lib/libcrypto/hmac/hm_pmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hm_pmeth.c,v 1.8 2014/07/11 08:44:48 jsing Exp $ */ 1/* $OpenBSD: hm_pmeth.c,v 1.9 2015/09/10 15:56:25 jsing Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2007. 3 * project 2007.
4 */ 4 */
@@ -124,7 +124,7 @@ pkey_hmac_cleanup(EVP_PKEY_CTX *ctx)
124 HMAC_CTX_cleanup(&hctx->ctx); 124 HMAC_CTX_cleanup(&hctx->ctx);
125 if (hctx->ktmp.data) { 125 if (hctx->ktmp.data) {
126 if (hctx->ktmp.length) 126 if (hctx->ktmp.length)
127 OPENSSL_cleanse(hctx->ktmp.data, hctx->ktmp.length); 127 explicit_bzero(hctx->ktmp.data, hctx->ktmp.length);
128 free(hctx->ktmp.data); 128 free(hctx->ktmp.data);
129 hctx->ktmp.data = NULL; 129 hctx->ktmp.data = NULL;
130 } 130 }