blob: ed3b96de203463016b05f6061e740536fcb82780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
--- a/nss/lib/ssl/ssl3con.c 2013-07-31 12:07:10.964699464 -0700
+++ b/nss/lib/ssl/ssl3con.c 2013-07-31 12:29:07.903829188 -0700
@@ -4773,9 +4773,9 @@ ssl3_SendClientHello(sslSocket *ss, PRBo
return SECFailure; /* ssl3_config_match_init has set error code. */
/* HACK for SCSV in SSL 3.0. On initial handshake, prepend SCSV,
- * only if we're willing to complete an SSL 3.0 handshake.
+ * only if TLS is disabled.
*/
- if (!ss->firstHsDone && ss->vrange.min == SSL_LIBRARY_VERSION_3_0) {
+ if (!ss->firstHsDone && !isTLS) {
/* Must set this before calling Hello Extension Senders,
* to suppress sending of empty RI extension.
*/
|