Skip to content
Permalink
Browse files

wolfssl: fixup for SNI use

follow-up from deb9462

Closes #4007
  • Loading branch information...
bagder committed Jun 10, 2019
1 parent 027c065 commit 4da5794d81521d7fe363479255a891bb56a19f60
Showing with 1 addition and 1 deletion.
  1. +1 −1 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");

0 comments on commit 4da5794

Please sign in to comment.
You can’t perform that action at this time.