diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-10 12:40:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-10 13:04:53 +0200 |
commit | 4da5794d81521d7fe363479255a891bb56a19f60 (patch) | |
tree | 49b9a5b056737b68e6124505f912e59fd886a0b4 | |
parent | 027c065f3cbc5b87ba9e658b14b78c9793af8584 (diff) |
wolfssl: fixup for SNI use
follow-up from deb9462ff2de8
Closes #4007
-rw-r--r-- | lib/vtls/wolfssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c index 30e3756bf..d8fd379ef 100644 --- a/lib/vtls/wolfssl.c +++ b/lib/vtls/wolfssl.c @@ -324,7 +324,7 @@ wolfssl_connect_step1(struct connectdata *conn, #ifdef ENABLE_IPV6 (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) && #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)) { infof(data, "WARNING: failed to configure server name indication (SNI) " "TLS extension\n"); |