#include <stdlib.h>
#include <string.h>
-#include "../e_os.h"
+#include "internal/nelem.h"
#include <openssl/bio.h>
#include <openssl/bn.h>
/*
* test_mod_exp_zero tests that x**0 mod 1 == 0. It returns zero on success.
*/
-static int test_mod_exp_zero()
+static int test_mod_exp_zero(void)
{
BIGNUM *a = NULL, *p = NULL, *m = NULL;
BIGNUM *r = NULL;
return ret;
}
-void register_tests(void)
+int setup_tests(void)
{
ADD_TEST(test_mod_exp_zero);
ADD_ALL_TESTS(test_mod_exp, 200);
+ return 1;
}