Upadate nss-ssl-cbc-random-iv-off-by-default.patch for new sources

This commit is contained in:
Elio Maldonado 2014-03-02 14:52:51 -08:00
parent 008ceb1846
commit dd9753a98a
1 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
diff -up nss/lib/ssl/sslsock.c.cbcrandomivoff nss/lib/ssl/sslsock.c
--- nss/lib/ssl/sslsock.c.cbcrandomivoff 2013-05-30 22:20:52.181292812 -0700
+++ nss/lib/ssl/sslsock.c 2013-05-30 22:20:52.194292913 -0700
@@ -152,7 +152,7 @@ static sslOptions ssl_defaults = {
--- nss/lib/ssl/sslsock.c.cbcrandomivoff 2014-03-02 14:42:44.392782189 -0800
+++ nss/lib/ssl/sslsock.c 2014-03-02 14:48:34.858494718 -0800
@@ -77,7 +77,7 @@ static sslOptions ssl_defaults = {
3, /* enableRenegotiation (default: transitional) */
PR_FALSE, /* requireSafeNegotiation */
PR_FALSE, /* enableFalseStart */
- PR_TRUE, /* cbcRandomIV */
+ PR_FALSE, /* cbcRandomIV */ /* defaults to off for compatibility */
PR_FALSE /* enableOCSPStapling */
};
@@ -2906,9 +2906,9 @@ ssl_SetDefaultsFromEnvironment(void)
+ PR_FALSE, /* cbcRandomIV */ /* defaults to off for compatibility */
PR_FALSE, /* enableOCSPStapling */
PR_TRUE, /* enableNPN */
PR_FALSE /* enableALPN */
@@ -2880,9 +2880,9 @@ ssl_SetDefaultsFromEnvironment(void)
PR_TRUE));
}
ev = getenv("NSS_SSL_CBC_RANDOM_IV");