From: Ben Greear Date: Fri, 7 Dec 2018 10:31:08 +0000 (+0100) Subject: openssl: fix unused variable compiler warning with old openssl X-Git-Tag: curl-7_63_0~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07e61abdac949dda7ff8ab152ed6eb8854db8484;p=curl openssl: fix unused variable compiler warning with old openssl URL: https://curl.haxx.se/mail/lib-2018-11/0055.html Closes #3347 --- 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