aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2018-12-07 11:31:08 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-07 17:03:17 +0100
commit07e61abdac949dda7ff8ab152ed6eb8854db8484 (patch)
tree5f68cd3d904d723d5617a465c104d262eacee5d3
parentcbea2fd2c74feabeb6f13b3e3df243b225b3b3ab (diff)
openssl: fix unused variable compiler warning with old openssl
URL: https://curl.haxx.se/mail/lib-2018-11/0055.html Closes #3347
-rw-r--r--lib/vtls/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 404f9c8aa..8bddb9a8c 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2167,6 +2167,7 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
}
#else
(void)sockindex;
+ (void)ctx_options;
failf(data, OSSL_PACKAGE " was built without TLS 1.3 support");
return CURLE_NOT_BUILT_IN;
#endif