Fix unsafe BIO_get_md_ctx check
authorPW Hu <jlu.hpw@foxmail.com>
Thu, 7 Oct 2021 03:50:59 +0000 (11:50 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 8 Oct 2021 09:47:41 +0000 (11:47 +0200)
commit4c09066ca62130c3a80365b1f94ade6c32b5d13b
treec65e54a22aae4f03236621ee33c05ef867651ee9
parent31ece182eea314ffe44dccb7d413ba16f29dc9ff
Fix unsafe BIO_get_md_ctx check

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16768)

(cherry picked from commit 59a3e7b29574ff45f62e825f6e9923f45060f142)
apps/dgst.c