Loading crypto/bn/exptest.c +8 −3 Original line number Diff line number Diff line Loading @@ -71,6 +71,11 @@ static const char rnd_seed[] = "string to make the random number generator think it has entropy"; /* * Disabled for FIPS capable builds because they use the FIPS BIGNUM library * which will fail this test. */ #ifndef OPENSSL_FIPS /* test_exp_mod_zero tests that x**0 mod 1 == 0. It returns zero on success. */ static int test_exp_mod_zero() { BIGNUM a, p, m; Loading Loading @@ -107,7 +112,7 @@ static int test_exp_mod_zero() { return ret; } #endif int main(int argc, char *argv[]) { BN_CTX *ctx; Loading Loading @@ -228,10 +233,10 @@ int main(int argc, char *argv[]) CRYPTO_mem_leaks(out); BIO_free(out); printf("\n"); #ifndef OPENSSL_FIPS if (test_exp_mod_zero() != 0) goto err; #endif printf("done\n"); EXIT(0); Loading Loading
crypto/bn/exptest.c +8 −3 Original line number Diff line number Diff line Loading @@ -71,6 +71,11 @@ static const char rnd_seed[] = "string to make the random number generator think it has entropy"; /* * Disabled for FIPS capable builds because they use the FIPS BIGNUM library * which will fail this test. */ #ifndef OPENSSL_FIPS /* test_exp_mod_zero tests that x**0 mod 1 == 0. It returns zero on success. */ static int test_exp_mod_zero() { BIGNUM a, p, m; Loading Loading @@ -107,7 +112,7 @@ static int test_exp_mod_zero() { return ret; } #endif int main(int argc, char *argv[]) { BN_CTX *ctx; Loading Loading @@ -228,10 +233,10 @@ int main(int argc, char *argv[]) CRYPTO_mem_leaks(out); BIO_free(out); printf("\n"); #ifndef OPENSSL_FIPS if (test_exp_mod_zero() != 0) goto err; #endif printf("done\n"); EXIT(0); Loading