1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

nss: Fix compatibility with nss versions 3.14 to 3.15

This commit is contained in:
Paul Howarth 2018-12-04 18:43:51 +00:00 committed by Daniel Stenberg
parent 71a1442eb2
commit 8ad9e5915a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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
};