From: Ben Greear <[email protected]>

ctx_options was not used, so the compiler warned.  Add
a (void)(ctx_options) line to make the compiler happy.

Hopefully that is the right fix...

Signed-off-by: Ben Greear <[email protected]>
---
 lib/vtls/openssl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 720e87d..a3041b4 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
-- 
2.7.5

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to