summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cms/cms_pwri.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/cms/cms_pwri.c')
-rw-r--r--lib/libcrypto/cms/cms_pwri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/cms/cms_pwri.c b/lib/libcrypto/cms/cms_pwri.c
index 11509e3c113..7055ba5d3b6 100644
--- a/lib/libcrypto/cms/cms_pwri.c
+++ b/lib/libcrypto/cms/cms_pwri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_pwri.c,v 1.9 2015/05/15 11:00:14 jsg Exp $ */
+/* $OpenBSD: cms_pwri.c,v 1.10 2015/09/10 15:56:25 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -262,7 +262,7 @@ kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in,
rv = 1;
err:
- OPENSSL_cleanse(tmp, inlen);
+ explicit_bzero(tmp, inlen);
free(tmp);
return rv;
}