From 356de7eea6f4b2f2e40fae3eafec04d9107366f3 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 14 Apr 2019 16:46:26 +0000 Subject: Annotate a future improvement. --- src/lib/libcrypto/evp/evp_enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 @@ -/* $OpenBSD: evp_enc.c,v 1.41 2019/04/14 16:43:49 jsing Exp $ */ +/* $OpenBSD: evp_enc.c,v 1.42 2019/04/14 16:46:26 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -581,6 +581,7 @@ EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) if (c->cipher_data) explicit_bzero(c->cipher_data, c->cipher->ctx_size); } + /* XXX - store size of cipher_data so we can always freezero(). */ free(c->cipher_data); #ifndef OPENSSL_NO_ENGINE ENGINE_finish(c->engine); -- cgit v1.2.3-55-g6feb