Skip to content

Commit

Permalink
nss: Fix compatibility with nss versions 3.14 to 3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
pghmcfc committed Dec 4, 2018
1 parent 01d4b54 commit 98e9843
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/vtls/nss.c
Expand Up @@ -1808,8 +1808,12 @@ static CURLcode nss_setup_connect(struct connectdata *conn, int sockindex)
SSL_LIBRARY_VERSION_TLS_1_0, /* min */ SSL_LIBRARY_VERSION_TLS_1_0, /* min */
#ifdef SSL_LIBRARY_VERSION_TLS_1_3 #ifdef SSL_LIBRARY_VERSION_TLS_1_3
SSL_LIBRARY_VERSION_TLS_1_3 /* max */ SSL_LIBRARY_VERSION_TLS_1_3 /* max */
#else #elif defined SSL_LIBRARY_VERSION_TLS_1_2
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 #endif
}; };


Expand Down

0 comments on commit 98e9843

Please sign in to comment.