Unverified Commit 0c448093 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

nss: set default max-tls to 1.3/1.2

Fixes #3261
parent 2f5f31bb
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1792,7 +1792,11 @@ static CURLcode nss_setup_connect(struct connectdata *conn, int sockindex)

  SSLVersionRange sslver = {
    SSL_LIBRARY_VERSION_TLS_1_0,  /* min */
    SSL_LIBRARY_VERSION_TLS_1_0   /* max */
#ifdef SSL_LIBRARY_VERSION_TLS_1_3
    SSL_LIBRARY_VERSION_TLS_1_3   /* max */
#else
    SSL_LIBRARY_VERSION_TLS_1_2
#endif
  };

  BACKEND->data = data;