diff options
author | Matt Caswell <matt@openssl.org> | 2020-08-11 15:55:04 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-08-29 09:40:10 +0200 |
commit | 8014b2a966e0a971797d5160c082108b5618d6b3 (patch) | |
tree | e65f10cfcfb094298961db860938df20dd2dc437 /crypto/evp/m_sigver.c | |
parent | Extend the provider MAC bridge for SIPHASH (diff) | |
download | openssl-8014b2a966e0a971797d5160c082108b5618d6b3.tar.xz openssl-8014b2a966e0a971797d5160c082108b5618d6b3.zip |
Don't require a default digest from signature algorithms
Some signature algorithms don't need a default digest, so don't fail if
we don't have one.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12637)
Diffstat (limited to 'crypto/evp/m_sigver.c')
-rw-r--r-- | crypto/evp/m_sigver.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c index 8fb9de07fe..0278d9ca09 100644 --- a/crypto/evp/m_sigver.c +++ b/crypto/evp/m_sigver.c @@ -172,9 +172,6 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, locmdname, sizeof(locmdname)) > 0) { mdname = canon_mdname(locmdname); - } else { - EVPerr(EVP_F_DO_SIGVER_INIT, EVP_R_NO_DEFAULT_DIGEST); - return 0; } } |