projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store digests as EVP_MD instead of a NID.
[oweals/openssl.git]
/
crypto
/
rsa
/
rsa_eay.c
diff --git
a/crypto/rsa/rsa_eay.c
b/crypto/rsa/rsa_eay.c
index 620ac5544b78cb0d0f202aed02ee03d151feb009..56da944845996ee6655028a2e7715a68599504a1 100644
(file)
--- a/
crypto/rsa/rsa_eay.c
+++ b/
crypto/rsa/rsa_eay.c
@@
-283,9
+283,9
@@
static int rsa_blinding_convert(BN_BLINDING *b, int local, BIGNUM *f,
else
{
int ret;
else
{
int ret;
- CRYPTO_
w
_lock(CRYPTO_LOCK_RSA_BLINDING);
+ CRYPTO_
r
_lock(CRYPTO_LOCK_RSA_BLINDING);
ret = BN_BLINDING_convert_ex(f, r, b, ctx);
ret = BN_BLINDING_convert_ex(f, r, b, ctx);
- CRYPTO_
w
_unlock(CRYPTO_LOCK_RSA_BLINDING);
+ CRYPTO_
r
_unlock(CRYPTO_LOCK_RSA_BLINDING);
return ret;
}
}
return ret;
}
}
@@
-298,9
+298,9
@@
static int rsa_blinding_invert(BN_BLINDING *b, int local, BIGNUM *f,
else
{
int ret;
else
{
int ret;
- CRYPTO_
r
_lock(CRYPTO_LOCK_RSA_BLINDING);
+ CRYPTO_
w
_lock(CRYPTO_LOCK_RSA_BLINDING);
ret = BN_BLINDING_invert_ex(f, r, b, ctx);
ret = BN_BLINDING_invert_ex(f, r, b, ctx);
- CRYPTO_
r
_unlock(CRYPTO_LOCK_RSA_BLINDING);
+ CRYPTO_
w
_unlock(CRYPTO_LOCK_RSA_BLINDING);
return ret;
}
}
return ret;
}
}