add packaging
[platform/upstream/nss.git] / packaging / renegotiate-transitional.patch
1 Index: security/nss/lib/ssl/sslsock.c
2 ===================================================================
3 RCS file: /cvsroot/mozilla/security/nss/lib/ssl/sslsock.c,v
4 retrieving revision 1.75
5 diff -u -p -6 -r1.75 sslsock.c
6 --- security/nss/lib/ssl/sslsock.c      22 Oct 2011 16:45:40 -0000      1.75
7 +++ security/nss/lib/ssl/sslsock.c      24 Oct 2011 12:52:25 -0000
8 @@ -178,13 +178,13 @@ static sslOptions ssl_defaults = {
9      PR_TRUE,   /* detectRollBack     */
10      PR_FALSE,   /* noStepDown         */
11      PR_FALSE,   /* bypassPKCS11       */
12      PR_FALSE,   /* noLocks            */
13      PR_FALSE,   /* enableSessionTickets */
14      PR_FALSE,   /* enableDeflate      */
15 -    2,          /* enableRenegotiation (default: requires extension) */
16 +    3,          /* enableRenegotiation (default: transitional) */
17      PR_FALSE,   /* requireSafeNegotiation */
18      PR_FALSE,   /* enableFalseStart   */
19      PR_TRUE     /* cbcRandomIV        */
20  };
21
22  sslSessionIDLookupFunc  ssl_sid_lookup;