diff options
author | Richard Levitte <levitte@openssl.org> | 2021-03-10 12:53:51 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-04-18 10:10:24 +0200 |
commit | 42423ac9611e0cbb02c93b3c5661328f324f9d08 (patch) | |
tree | 0f19ed40c67c3731b2ba7a26484aaee3b08f8ad1 /crypto/dh | |
parent | 6ee1ae32933e299a6a0a5a0e8b4a1c1a64da3492 (diff) |
TEST: Modify how the retrieved digest name for SM2 digestsign is checked
Because of aliases, retrieved names won't always match one specific
string. A safer way to check is to fetch the digest from the
retrieved name and check it's the expected one with the help of
EVP_MD_is_a().
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14498)
Diffstat (limited to 'crypto/dh')
0 files changed, 0 insertions, 0 deletions