]> granicus.if.org Git - openssl/commit
Only reset the ctx when a cipher is given
authorKurt Roeckx <kurt@roeckx.be>
Sun, 29 Oct 2017 14:13:43 +0000 (15:13 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 30 Oct 2017 21:51:40 +0000 (22:51 +0100)
commit5a3d24ad5af3a2fee1d5381bda5329c07b6328d8
tree3719e2fb1f345829767c3244539e2e622bf872cf
parent257a03ccb5f395a23bbf63b6fcdd024081b114c7
Only reset the ctx when a cipher is given

This restores the 1.0.2 behaviour

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Benjamin Kaduk <bkaduk@akamai.com>
GH: #4613
(cherry picked from commit ffd23209933ea0ad5543f15ca6303d63d8dac826)
crypto/evp/evp_enc.c