diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-01 16:25:19 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-01 23:50:05 +0200 |
commit | cd2ff2708f57375d29ed86b375ab47de3ef678d8 (patch) | |
tree | c3e837b48d7a15dd7aa9621ec6875f9bdd866750 /lib/vtls/sectransp.c | |
parent | 06a7f2745e58cd472894a2f4bd706c18a1acd03d (diff) | |
download | curl-bagder/gnutls-http2.tar.gz |
TLS: fix HTTP/2 selectionbagder/gnutls-http2
for GnuTLS, BearSSL, mbedTLS, NSS, SChannnel, Secure Transport and
wolfSSL...
Regression since 88dd1a8a115b1f5ece (shipped in 7.76.0)
Reported-by: Kenneth Davidson
Fixes #6825
Diffstat (limited to 'lib/vtls/sectransp.c')
-rw-r--r-- | lib/vtls/sectransp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/sectransp.c b/lib/vtls/sectransp.c index e69b99b72..9d637da2e 100644 --- a/lib/vtls/sectransp.c +++ b/lib/vtls/sectransp.c @@ -1613,7 +1613,7 @@ static CURLcode sectransp_connect_step1(struct Curl_easy *data, &kCFTypeArrayCallBacks); #ifdef USE_NGHTTP2 - if(data->state.httpversion >= CURL_HTTP_VERSION_2 + if(data->state.httpwant >= CURL_HTTP_VERSION_2 #ifndef CURL_DISABLE_PROXY && (!isproxy || !conn->bits.tunnel_proxy) #endif |