diff options
-rw-r--r-- | src/lib/libcrypto/evp/evp_enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c index 38605a6fe1..71ed70a215 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.41 2019/04/14 16:43:49 jsing Exp $ */ | 1 | /* $OpenBSD: evp_enc.c,v 1.42 2019/04/14 16:46:26 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 | * |
@@ -581,6 +581,7 @@ EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) | |||
581 | if (c->cipher_data) | 581 | if (c->cipher_data) |
582 | explicit_bzero(c->cipher_data, c->cipher->ctx_size); | 582 | explicit_bzero(c->cipher_data, c->cipher->ctx_size); |
583 | } | 583 | } |
584 | /* XXX - store size of cipher_data so we can always freezero(). */ | ||
584 | free(c->cipher_data); | 585 | free(c->cipher_data); |
585 | #ifndef OPENSSL_NO_ENGINE | 586 | #ifndef OPENSSL_NO_ENGINE |
586 | ENGINE_finish(c->engine); | 587 | ENGINE_finish(c->engine); |