summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-04-14 16:46:26 +0000
committerjsing <>2019-04-14 16:46:26 +0000
commit7165df7d1af4772ccfc49d8eb052da4944430f48 (patch)
treeec101fa3281cf5e4164bbb4782329f4a328e2ded
parent4acca314105512e798b1f9100b50de7ced92d5cd (diff)
downloadopenbsd-7165df7d1af4772ccfc49d8eb052da4944430f48.tar.gz
openbsd-7165df7d1af4772ccfc49d8eb052da4944430f48.tar.bz2
openbsd-7165df7d1af4772ccfc49d8eb052da4944430f48.zip
Annotate a future improvement.
-rw-r--r--src/lib/libcrypto/evp/evp_enc.c3
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);