summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/vtls/bearssl.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2021-04-17 17:28:44 +0300
committerdartraiden <wowemuh@gmail.com>2021-04-17 17:28:44 +0300
commit5612cd9c7b03972631c46d117c595a34e71ecafd (patch)
tree791e0aafd46c353e6edfbba8369577fad21bdfe0 /libs/libcurl/src/vtls/bearssl.c
parent6f2d6282c4efac04c18dcc7d493e18a3aaf08ad3 (diff)
libcurl: update to 7.76.1
Diffstat (limited to 'libs/libcurl/src/vtls/bearssl.c')
-rw-r--r--libs/libcurl/src/vtls/bearssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/vtls/bearssl.c b/libs/libcurl/src/vtls/bearssl.c
index 39fc1a2920..a63056d4ef 100644
--- a/libs/libcurl/src/vtls/bearssl.c
+++ b/libs/libcurl/src/vtls/bearssl.c
@@ -391,7 +391,7 @@ static CURLcode bearssl_connect_step1(struct Curl_easy *data,
*/
#ifdef USE_NGHTTP2
- if(data->state.httpversion >= CURL_HTTP_VERSION_2
+ if(data->state.httpwant >= CURL_HTTP_VERSION_2
#ifndef CURL_DISABLE_PROXY
&& (!SSL_IS_PROXY() || !conn->bits.tunnel_proxy)
#endif