diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_enc.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c index 42ccfceec9..99bf59e05f 100644 --- a/src/lib/libcrypto/evp/evp_enc.c +++ b/src/lib/libcrypto/evp/evp_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_enc.c,v 1.26 2015/02/10 09:52:35 miod Exp $ */ | 1 | /* $OpenBSD: evp_enc.c,v 1.27 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 | * |
@@ -562,7 +562,7 @@ EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) | |||
562 | return 0; | 562 | return 0; |
563 | /* Cleanse cipher context data */ | 563 | /* Cleanse cipher context data */ |
564 | if (c->cipher_data) | 564 | if (c->cipher_data) |
565 | OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); | 565 | explicit_bzero(c->cipher_data, c->cipher->ctx_size); |
566 | } | 566 | } |
567 | free(c->cipher_data); | 567 | free(c->cipher_data); |
568 | #ifndef OPENSSL_NO_ENGINE | 568 | #ifndef OPENSSL_NO_ENGINE |