mirror of
https://github.com/curl/curl.git
synced 2026-06-10 03:04:16 +03:00
fix check for GNUTLS_TLS1_3 (it is an enum)
This commit is contained in:
parent
ddac9028d2
commit
dbc33e072c
1 changed files with 1 additions and 1 deletions
|
|
@ -733,7 +733,7 @@ int Curl_glts_get_ietf_proto(gnutls_session_t session)
|
|||
return CURL_IETF_PROTO_TLS1_1;
|
||||
case GNUTLS_TLS1_2:
|
||||
return CURL_IETF_PROTO_TLS1_2;
|
||||
#ifdef GNUTLS_TLS1_3
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x030603
|
||||
case GNUTLS_TLS1_3:
|
||||
return CURL_IETF_PROTO_TLS1_3;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue