Prevent calling decryption in an encryption context and vice versa
authorRichard Levitte <levitte@openssl.org>
Sun, 9 Dec 2018 13:18:50 +0000 (14:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 09:07:15 +0000 (10:07 +0100)
commita8bf2f8f24bda57c860e4356f31264fff63fe8b9
tree2bcab2b797ebf3c552084586e0ec9d16f6e906f8
parent1057c2c39f5df45c36c0fc4d78dc9d3b91f78bc6
Prevent calling decryption in an encryption context and vice versa

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7852)
crypto/evp/evp_enc.c