summaryrefslogtreecommitdiff
path: root/test/exptest.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-08-15 23:39:03 +0200
committerRich Salz <rsalz@openssl.org>2017-08-16 10:36:34 -0400
commit31a80694d425bf7f3a0ed5cc2ee775d9418a5490 (patch)
tree0b8d8675d3b84abc2b3cb4e28abf8e057085cce2 /test/exptest.c
parent30bb02597df9a79b46bae2ddc9885a35286ed205 (diff)
downloadopenssl-new-31a80694d425bf7f3a0ed5cc2ee775d9418a5490.tar.gz
[Win] Fix some test method signatures ...
to halves MSVC warnings. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4172)
Diffstat (limited to 'test/exptest.c')
-rw-r--r--test/exptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exptest.c b/test/exptest.c
index 11347123e6..b357a2349d 100644
--- a/test/exptest.c
+++ b/test/exptest.c
@@ -43,7 +43,7 @@ static int a_is_zero_mod_one(const char *method, const BIGNUM *r,
/*
* 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;