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:
364f36f
)
Add RSA update from FIPS branch that got omitted....
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Sep 2008 15:53:59 +0000
(15:53 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Sep 2008 15:53:59 +0000
(15:53 +0000)
crypto/rsa/rsa_oaep.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_oaep.c
b/crypto/rsa/rsa_oaep.c
index 3652677a99822b9cd47b9354bc0ba6366e3a2fc7..4d30c9d2d3527e1442c1d69db2b7ad1b214a6983 100644
(file)
--- a/
crypto/rsa/rsa_oaep.c
+++ b/
crypto/rsa/rsa_oaep.c
@@
-187,7
+187,7
@@
int PKCS1_MGF1(unsigned char *mask, long len,
int mdlen;
EVP_MD_CTX_init(&c);
- mdlen = EVP_MD_size(dgst);
+ mdlen =
M_
EVP_MD_size(dgst);
for (i = 0; outlen < len; i++)
{
cnt[0] = (unsigned char)((i >> 24) & 255);