summaryrefslogtreecommitdiffstats
path: root/test/hmactest.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/hmactest.c
parent30bb02597df9a79b46bae2ddc9885a35286ed205 (diff)
[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/hmactest.c')
-rw-r--r--test/hmactest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/hmactest.c b/test/hmactest.c
index 2431be5cb6..efe21e0609 100644
--- a/test/hmactest.c
+++ b/test/hmactest.c
@@ -105,7 +105,7 @@ static int test_hmac_md5(int idx)
}
# endif
-static int test_hmac_bad()
+static int test_hmac_bad(void)
{
HMAC_CTX *ctx = NULL;
int ret = 0;
@@ -125,7 +125,7 @@ err:
return ret;
}
-static int test_hmac_run()
+static int test_hmac_run(void)
{
char *p;
HMAC_CTX *ctx = NULL;
@@ -180,7 +180,7 @@ err:
}
-static int test_hmac_single_shot()
+static int test_hmac_single_shot(void)
{
char *p;
@@ -194,7 +194,7 @@ static int test_hmac_single_shot()
}
-static int test_hmac_copy()
+static int test_hmac_copy(void)
{
char *p;
HMAC_CTX *ctx = NULL, *ctx2 = NULL;