diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/cms/cms_pwri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cms/cms_pwri.c b/src/lib/libcrypto/cms/cms_pwri.c index 11509e3c11..7055ba5d3b 100644 --- a/src/lib/libcrypto/cms/cms_pwri.c +++ b/src/lib/libcrypto/cms/cms_pwri.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_pwri.c,v 1.9 2015/05/15 11:00:14 jsg Exp $ */ | 1 | /* $OpenBSD: cms_pwri.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. | 3 | * project. |
4 | */ | 4 | */ |
@@ -262,7 +262,7 @@ kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, | |||
262 | rv = 1; | 262 | rv = 1; |
263 | 263 | ||
264 | err: | 264 | err: |
265 | OPENSSL_cleanse(tmp, inlen); | 265 | explicit_bzero(tmp, inlen); |
266 | free(tmp); | 266 | free(tmp); |
267 | return rv; | 267 | return rv; |
268 | } | 268 | } |