From 5612cd9c7b03972631c46d117c595a34e71ecafd Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sat, 17 Apr 2021 17:28:44 +0300 Subject: libcurl: update to 7.76.1 --- libs/libcurl/src/vtls/schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/libcurl/src/vtls/schannel.c') diff --git a/libs/libcurl/src/vtls/schannel.c b/libs/libcurl/src/vtls/schannel.c index 931bd853eb..961a71f6d5 100644 --- a/libs/libcurl/src/vtls/schannel.c +++ b/libs/libcurl/src/vtls/schannel.c @@ -862,7 +862,7 @@ schannel_connect_step1(struct Curl_easy *data, struct connectdata *conn, list_start_index = cur; #ifdef USE_NGHTTP2 - if(data->state.httpversion >= CURL_HTTP_VERSION_2) { + if(data->state.httpwant >= CURL_HTTP_VERSION_2) { memcpy(&alpn_buffer[cur], NGHTTP2_PROTO_ALPN, NGHTTP2_PROTO_ALPN_LEN); cur += NGHTTP2_PROTO_ALPN_LEN; infof(data, "schannel: ALPN, offering %s\n", NGHTTP2_PROTO_VERSION_ID); -- cgit v1.2.3