projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27b31b
)
Don't require a default digest from signature algorithms
author
Matt Caswell
<matt@openssl.org>
Tue, 11 Aug 2020 13:55:04 +0000
(14:55 +0100)
committer
Pauli
<paul.dale@oracle.com>
Sat, 29 Aug 2020 07:40:10 +0000
(17:40 +1000)
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)
crypto/evp/m_sigver.c
patch
|
blob
|
history
diff --git
a/crypto/evp/m_sigver.c
b/crypto/evp/m_sigver.c
index 8fb9de07fe61b705765077b0c9d3bb95a99dbc96..0278d9ca09ae819879919e8f318a75adf2642b11 100644
(file)
--- 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;
}
}