diff options
Diffstat (limited to 'src/lib/libcrypto/hmac/hm_ameth.c')
| -rw-r--r-- | src/lib/libcrypto/hmac/hm_ameth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hmac/hm_ameth.c b/src/lib/libcrypto/hmac/hm_ameth.c index da3471c4fd..cfa0239705 100644 --- a/src/lib/libcrypto/hmac/hm_ameth.c +++ b/src/lib/libcrypto/hmac/hm_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: hm_ameth.c,v 1.9 2015/07/20 15:45:29 miod Exp $ */ | 1 | /* $OpenBSD: hm_ameth.c,v 1.10 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 | */ |
| @@ -83,7 +83,7 @@ hmac_key_free(EVP_PKEY *pkey) | |||
| 83 | 83 | ||
| 84 | if (os) { | 84 | if (os) { |
| 85 | if (os->data) | 85 | if (os->data) |
| 86 | OPENSSL_cleanse(os->data, os->length); | 86 | explicit_bzero(os->data, os->length); |
| 87 | ASN1_OCTET_STRING_free(os); | 87 | ASN1_OCTET_STRING_free(os); |
| 88 | } | 88 | } |
| 89 | } | 89 | } |
