]> granicus.if.org Git - curl/commitdiff
openssl: fix unused variable compiler warning with old openssl
authorBen Greear <greearb@candelatech.com>
Fri, 7 Dec 2018 10:31:08 +0000 (11:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Dec 2018 16:03:17 +0000 (17:03 +0100)
URL: https://curl.haxx.se/mail/lib-2018-11/0055.html

Closes #3347

lib/vtls/openssl.c

index 404f9c8aa365980f7ca5f4a4501948df11968ea7..8bddb9a8c6a96db4779fe0b21f478e5ff2e28bf6 100644 (file)
@@ -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