fix warnings when building openssl with (gcc 3.3.1):
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar -Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts -Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused -Wno-unused-parameter -Wuninitialized
This commit is contained in:
@@ -231,7 +231,7 @@ void prime_field_tests()
|
||||
EC_GROUP *tmp;
|
||||
tmp = EC_GROUP_new(EC_GROUP_method_of(group));
|
||||
if (!tmp) ABORT;
|
||||
if (!EC_GROUP_copy(tmp, group));
|
||||
if (!EC_GROUP_copy(tmp, group)) ABORT;
|
||||
EC_GROUP_free(group);
|
||||
group = tmp;
|
||||
}
|
||||
@@ -844,7 +844,7 @@ void char2_field_tests()
|
||||
EC_GROUP *tmp;
|
||||
tmp = EC_GROUP_new(EC_GROUP_method_of(group));
|
||||
if (!tmp) ABORT;
|
||||
if (!EC_GROUP_copy(tmp, group));
|
||||
if (!EC_GROUP_copy(tmp, group)) ABORT;
|
||||
EC_GROUP_free(group);
|
||||
group = tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user