mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 06:55:02 -05:00
parent
027c065f3c
commit
4da5794d81
@ -324,7 +324,7 @@ wolfssl_connect_step1(struct connectdata *conn,
|
|||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
(0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) &&
|
(0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) &&
|
||||||
#endif
|
#endif
|
||||||
(wolfssl_CTX_UseSNI(BACKEND->ctx, WOLFSSL_SNI_HOST_NAME, hostname,
|
(wolfSSL_CTX_UseSNI(BACKEND->ctx, WOLFSSL_SNI_HOST_NAME, hostname,
|
||||||
(unsigned short)hostname_len) != 1)) {
|
(unsigned short)hostname_len) != 1)) {
|
||||||
infof(data, "WARNING: failed to configure server name indication (SNI) "
|
infof(data, "WARNING: failed to configure server name indication (SNI) "
|
||||||
"TLS extension\n");
|
"TLS extension\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user