diff options
Diffstat (limited to 'src/lib/libcrypto/evp/e_aes.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_aes.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_aes.c b/src/lib/libcrypto/evp/e_aes.c index 97cb5154a5..7c713db026 100644 --- a/src/lib/libcrypto/evp/e_aes.c +++ b/src/lib/libcrypto/evp/e_aes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes.c,v 1.33 2017/01/31 13:17:21 inoguchi Exp $ */ | 1 | /* $OpenBSD: e_aes.c,v 1.34 2017/05/02 03:59:44 deraadt Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -1422,8 +1422,7 @@ aead_aes_gcm_cleanup(EVP_AEAD_CTX *ctx) | |||
1422 | { | 1422 | { |
1423 | struct aead_aes_gcm_ctx *gcm_ctx = ctx->aead_state; | 1423 | struct aead_aes_gcm_ctx *gcm_ctx = ctx->aead_state; |
1424 | 1424 | ||
1425 | explicit_bzero(gcm_ctx, sizeof(*gcm_ctx)); | 1425 | freezero(gcm_ctx, sizeof(*gcm_ctx)); |
1426 | free(gcm_ctx); | ||
1427 | } | 1426 | } |
1428 | 1427 | ||
1429 | static int | 1428 | static int |