mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
nss: Fix compatibility with nss versions 3.14 to 3.15
This commit is contained in:
parent
71a1442eb2
commit
8ad9e5915a
@ -1808,8 +1808,12 @@ static CURLcode nss_setup_connect(struct connectdata *conn, int sockindex)
|
||||
SSL_LIBRARY_VERSION_TLS_1_0, /* min */
|
||||
#ifdef SSL_LIBRARY_VERSION_TLS_1_3
|
||||
SSL_LIBRARY_VERSION_TLS_1_3 /* max */
|
||||
#else
|
||||
#elif defined SSL_LIBRARY_VERSION_TLS_1_2
|
||||
SSL_LIBRARY_VERSION_TLS_1_2
|
||||
#elif defined SSL_LIBRARY_VERSION_TLS_1_1
|
||||
SSL_LIBRARY_VERSION_TLS_1_1
|
||||
#else
|
||||
SSL_LIBRARY_VERSION_TLS_1_0
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user