1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

openssl: fix unused variable compiler warning with old openssl

URL: https://curl.haxx.se/mail/lib-2018-11/0055.html

Closes #3347
This commit is contained in:
Ben Greear 2018-12-07 11:31:08 +01:00 committed by Daniel Stenberg
parent cbea2fd2c7
commit 07e61abdac
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -2167,6 +2167,7 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
} }
#else #else
(void)sockindex; (void)sockindex;
(void)ctx_options;
failf(data, OSSL_PACKAGE " was built without TLS 1.3 support"); failf(data, OSSL_PACKAGE " was built without TLS 1.3 support");
return CURLE_NOT_BUILT_IN; return CURLE_NOT_BUILT_IN;
#endif #endif