diff options
Diffstat (limited to 'src/lib/libcrypto/pem/pem_info.c')
-rw-r--r-- | src/lib/libcrypto/pem/pem_info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/pem/pem_info.c b/src/lib/libcrypto/pem/pem_info.c index 6fe72ce742..191e3b5b10 100644 --- a/src/lib/libcrypto/pem/pem_info.c +++ b/src/lib/libcrypto/pem/pem_info.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pem_info.c,v 1.20 2015/02/10 09:52:35 miod Exp $ */ | 1 | /* $OpenBSD: pem_info.c,v 1.21 2015/09/10 15:56:25 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -400,7 +400,7 @@ PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, | |||
400 | ret = 1; | 400 | ret = 1; |
401 | 401 | ||
402 | err: | 402 | err: |
403 | OPENSSL_cleanse((char *)&ctx, sizeof(ctx)); | 403 | explicit_bzero((char *)&ctx, sizeof(ctx)); |
404 | OPENSSL_cleanse(buf, PEM_BUFSIZE); | 404 | explicit_bzero(buf, PEM_BUFSIZE); |
405 | return (ret); | 405 | return (ret); |
406 | } | 406 | } |