Ben Greear via curl-library
2018-11-28 17:20:45 UTC
From: Ben Greear <***@candelatech.com>
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 <***@candelatech.com>
---
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
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 <***@candelatech.com>
---
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
Etiquett
2.7.5
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquett