diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2017-03-14 11:36:07 -0500 |
---|---|---|
committer | Benjamin Kaduk <bkaduk@akamai.com> | 2017-03-14 11:44:31 -0500 |
commit | aebe9e399109dcde63a1d0328ffdfc5619b49431 (patch) | |
tree | 139aea12d98f41a98193636c76f4161ea10a4f97 /test/danetest.c | |
parent | d8f9213ae2f0c59198fe56eeb70c34d735422254 (diff) | |
download | openssl-aebe9e399109dcde63a1d0328ffdfc5619b49431.tar.gz |
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.c | 4 |
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; } |