EVP_{CIPHER,MD}_CTX_ctrl(): make extra sure to return 0 or 1
authorRichard Levitte <levitte@openssl.org>
Sun, 13 Oct 2019 11:00:46 +0000 (13:00 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 17 Oct 2019 07:14:01 +0000 (09:14 +0200)
commit6a36f209bcfbc958e30d544c3031ed002dbfe582
treef09868b868aaaf2862369c514c86dac854a3110b
parentf6dead1b72a04b113b4b198ac98a8b9b994ad86f
EVP_{CIPHER,MD}_CTX_ctrl(): make extra sure to return 0 or 1

The previous fix was incomplete.

Fixes #10106

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10163)
crypto/evp/digest.c
crypto/evp/evp_enc.c