Fix warning.

This commit is contained in:
Ben Laurie 2011-01-09 17:50:06 +00:00
parent 114f511f17
commit c13d7c0296

View File

@ -234,7 +234,7 @@ static void group_order_tests(EC_GROUP *group)
BN_CTX_free(ctx); BN_CTX_free(ctx);
} }
static void prime_field_tests() static void prime_field_tests(void)
{ {
BN_CTX *ctx = NULL; BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b; BIGNUM *p, *a, *b;
@ -777,7 +777,7 @@ static void prime_field_tests()
if (!EC_GROUP_copy(_variable, group)) ABORT; \ if (!EC_GROUP_copy(_variable, group)) ABORT; \
static void char2_field_tests() static void char2_field_tests(void)
{ {
BN_CTX *ctx = NULL; BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b; BIGNUM *p, *a, *b;