author | Misaki Miyashita <Misaki.Miyashita@Oracle.COM> |
Fri, 28 Aug 2015 11:04:52 -0700 | |
changeset 4822 | 1fb8a14c6702 |
parent 4370 | 7043c27399f1 |
permissions | -rw-r--r-- |
# # This was developed in house. Upstreadm notified (PR#277). # diff -ru openssl-1.0.1m/crypto/evp/evp_enc.c openssl-1.0.1m/crypto/evp/evp_enc.c.new --- openssl-1.0.1m/crypto/evp/evp_enc.c Thu May 7 09:46:32 2015 +++ openssl-1.0.1m/crypto/evp/evp_enc.c.new Thu May 7 09:46:23 2015 @@ -185,6 +185,7 @@ EVPerr(EVP_F_EVP_CIPHERINIT_EX, ERR_R_MALLOC_FAILURE); return 0; } + (void) memset(ctx->cipher_data, 0, ctx->cipher->ctx_size); } else { ctx->cipher_data = NULL; }