projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5475e3
)
Set maskHash when creating parameters.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 13 Jul 2017 12:37:57 +0000
(13:37 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 19 Jul 2017 13:02:20 +0000
(14:02 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3920)
crypto/rsa/rsa_ameth.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_ameth.c
b/crypto/rsa/rsa_ameth.c
index 69b45fd5095f9a82538cd82f2e84b8ad285b642c..0527d1a968a93186af860aa1903afffff830831b 100644
(file)
--- a/
crypto/rsa/rsa_ameth.c
+++ b/
crypto/rsa/rsa_ameth.c
@@
-567,6
+567,8
@@
RSA_PSS_PARAMS *rsa_pss_params_create(const EVP_MD *sigmd,
mgf1md = sigmd;
if (!rsa_md_to_mgf1(&pss->maskGenAlgorithm, mgf1md))
goto err;
+ if (!rsa_md_to_algor(&pss->maskHash, mgf1md))
+ goto err;
return pss;
err:
RSA_PSS_PARAMS_free(pss);