diff --git a/base/openssl_help.h b/base/openssl_help.h index f0e270ad..67f38e09 100644 --- a/base/openssl_help.h +++ b/base/openssl_help.h @@ -273,7 +273,11 @@ class BigNum { return false; } // constexpr auto kMillerRabinIterationCount = 64; - const auto result = BN_check_prime(raw()); + const auto result = BN_check_prime( + raw(), + context.raw(), + nullptr + ); if (result == 1) { return true;