summaryrefslogtreecommitdiffstats
path: root/test/danetest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-01-11 00:28:09 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-01-11 00:39:13 +0100
commit71405d683c979178618363b618f527ebdbea7854 (patch)
tree195eb6277d0ff169a46eb4e1668f600f4a47f843 /test/danetest.c
parentFile is about s_time, not s_client (diff)
downloadopenssl-71405d683c979178618363b618f527ebdbea7854.tar.xz
openssl-71405d683c979178618363b618f527ebdbea7854.zip
fix shadow warning
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/danetest.c')
-rw-r--r--test/danetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/danetest.c b/test/danetest.c
index 202be20d65..02d0f79efc 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -88,7 +88,7 @@ static int restore_errno(void)
return ret;
}
-static void usage(void)
+static void test_usage(void)
{
fprintf(stderr, "usage: %s: danetest basedomain CAfile tlsafile\n", progname);
}
@@ -465,7 +465,7 @@ int main(int argc, char *argv[])
progname = argv[0];
if (argc != 4) {
- usage();
+ test_usage();
EXIT(1);
}
basedomain = argv[1];