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_chk.c
diff --git
a/crypto/rsa/rsa_chk.c
b/crypto/rsa/rsa_chk.c
index 002f2cb487222acc92226e21018af434c713fab4..9d848db8c6c783f8718d86a0b86bbae2bb3f967d 100644
(file)
--- a/
crypto/rsa/rsa_chk.c
+++ b/
crypto/rsa/rsa_chk.c
@@
-75,7
+75,7
@@
int RSA_check_key(const RSA *key)
}
/* p prime? */
}
/* p prime? */
- r = BN_is_prime
(key->p, BN_prime_checks, NULL
, NULL, NULL);
+ r = BN_is_prime
_ex(key->p, BN_prime_checks
, NULL, NULL);
if (r != 1)
{
ret = r;
if (r != 1)
{
ret = r;
@@
-85,7
+85,7
@@
int RSA_check_key(const RSA *key)
}
/* q prime? */
}
/* q prime? */
- r = BN_is_prime
(key->q, BN_prime_checks, NULL
, NULL, NULL);
+ r = BN_is_prime
_ex(key->q, BN_prime_checks
, NULL, NULL);
if (r != 1)
{
ret = r;
if (r != 1)
{
ret = r;