evp/evp_enc.c: allow EVP_CIPHER.ctx_size to be 0.
authorAndy Polyakov <appro@openssl.org>
Wed, 9 Dec 2015 20:18:00 +0000 (21:18 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 10 Dec 2015 11:00:05 +0000 (12:00 +0100)
commitf6b9427923dd275ea4149a73f841dbcee079ace3
treeec8fbae0576dd8912978081cd73b67c270e6979c
parent72bb2f64fc67dc644f302a07953900becced011f
evp/evp_enc.c: allow EVP_CIPHER.ctx_size to be 0.

In such case it would be EVP_CIPHER.cleanup's reponsibility to wipe
EVP_CIPHEX_CTX.cipher_data.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/evp_enc.c