Ensure that MDs created via EVP_MD_meth_new() go down the legacy route
authorMatt Caswell <matt@openssl.org>
Fri, 10 Dec 2021 16:53:02 +0000 (16:53 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 10 Jan 2022 16:38:35 +0000 (16:38 +0000)
commitd9ad5b16b32172df6f7d02cfb1c339cc85d0db01
tree8d8ad44d714ad53175fc4e30e04c122a01a364bc
parent64a8f6008acce93d0bf184559c63e66c0cc0e23d
Ensure that MDs created via EVP_MD_meth_new() go down the legacy route

MDs created via EVP_MD_meth_new() are inherently legacy and therefore
need to go down the legacy route when they are used.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/17255)
crypto/evp/digest.c