Ensure we look at EVP_MD_CTX_FLAG_KEEP_PKEY_CTX in non-legacy code
authorMatt Caswell <matt@openssl.org>
Tue, 24 Sep 2019 09:23:41 +0000 (10:23 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 3 Oct 2019 08:47:12 +0000 (09:47 +0100)
commitaa64cf248f29b14ae4525e31445d247033c3dddb
tree1b3c50bc270270dfba390f33c952ef995139ebfc
parent45a845e40bf68f1ed9aca6d465ddd508996d7d2f
Ensure we look at EVP_MD_CTX_FLAG_KEEP_PKEY_CTX in non-legacy code

This flag is still relevant even for non-legacy code so we should check
it where appropriate.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10013)
crypto/evp/digest.c