summaryrefslogtreecommitdiffstats
path: root/test/danetest.c
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-03-14 17:36:07 +0100
committerBenjamin Kaduk <bkaduk@akamai.com>2017-03-14 17:44:31 +0100
commitaebe9e399109dcde63a1d0328ffdfc5619b49431 (patch)
tree139aea12d98f41a98193636c76f4161ea10a4f97 /test/danetest.c
parentRather use -out parameter than redirect stdout (diff)
downloadopenssl-aebe9e399109dcde63a1d0328ffdfc5619b49431.tar.xz
openssl-aebe9e399109dcde63a1d0328ffdfc5619b49431.zip
Fix some -Wshadow warnings
Found using various (old-ish) versions of gcc. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2940)
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 aea3a7a43e..7fa6a2f44f 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -317,7 +317,7 @@ static int allws(const char *cp)
return 1;
}
-static int test_tlsafile(SSL_CTX *ctx, const char *basename,
+static int test_tlsafile(SSL_CTX *ctx, const char *base_name,
BIO *f, const char *path)
{
char *line;
@@ -353,7 +353,7 @@ static int test_tlsafile(SSL_CTX *ctx, const char *basename,
if ((ssl = SSL_new(ctx)) == NULL)
return -1;
SSL_set_connect_state(ssl);
- if (SSL_dane_enable(ssl, basename) <= 0) {
+ if (SSL_dane_enable(ssl, base_name) <= 0) {
SSL_free(ssl);
return -1;
}