diff options
Diffstat (limited to 'src/crypto/rsa/rsa_impl.c')
-rw-r--r-- | src/crypto/rsa/rsa_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/rsa/rsa_impl.c b/src/crypto/rsa/rsa_impl.c index eb4a36f..b14f7a0 100644 --- a/src/crypto/rsa/rsa_impl.c +++ b/src/crypto/rsa/rsa_impl.c @@ -1010,7 +1010,7 @@ static int keygen_multiprime(RSA *rsa, int bits, int num_primes, if (!BN_mul(r1, rsa->n, ap->prime, ctx)) { goto err; } - if (BN_num_bits(r1) == bits) { + if (BN_num_bits(r1) == (unsigned) bits) { break; } |