Prevent calling decryption in an encryption context and vice versa
authorRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 09:18:10 +0000 (10:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Jan 2019 17:32:36 +0000 (18:32 +0100)
commitcfa9a7cd5316fddd2e41bda3f3a1e50537e784bb
treea0b5bc758b4e70a64d45457464b37595c4a3e41e
parenteed51aa8270dd3feb1fce049aeae505cbfe806f5
Prevent calling decryption in an encryption context and vice versa

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7856)
crypto/evp/evp_enc.c