Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: net/third_party/nss/patches/tls12backuphash.patch

Issue 23880004: Merge 220595 "On Windows, prefer to generate SHA-1 signatures fo..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/patches/applypatches.sh ('k') | net/third_party/nss/ssl/ssl3con.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Index: net/third_party/nss/ssl/ssl3con.c 1 Index: net/third_party/nss/ssl/ssl3con.c
2 =================================================================== 2 ===================================================================
3 --- net/third_party/nss/ssl/ssl3con.c (revision 219342) 3 --- net/third_party/nss/ssl/ssl3con.c (revision 219342)
4 +++ net/third_party/nss/ssl/ssl3con.c (working copy) 4 +++ net/third_party/nss/ssl/ssl3con.c (working copy)
5 @@ -3933,6 +3933,22 @@ 5 @@ -3933,6 +3933,22 @@
6 ssl_MapLowLevelError(SSL_ERROR_DIGEST_FAILURE); 6 ssl_MapLowLevelError(SSL_ERROR_DIGEST_FAILURE);
7 return SECFailure; 7 return SECFailure;
8 } 8 }
9 + 9 +
10 +#ifdef _WIN32 10 +#ifdef _WIN32
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 @@ -838,6 +838,9 @@ 154 @@ -838,6 +838,9 @@
155 * SSL 3.0 - TLS 1.1 use both |md5| and |sha|. |md5| is used for MD5 and 155 * SSL 3.0 - TLS 1.1 use both |md5| and |sha|. |md5| is used for MD5 and
156 * |sha| for SHA-1. 156 * |sha| for SHA-1.
157 * TLS 1.2 and later use only |sha|, for SHA-256. */ 157 * TLS 1.2 and later use only |sha|, for SHA-256. */
158 + /* NOTE: On Windows, TLS 1.2 and later use |md5| as a backup handshake hash 158 + /* NOTE: On Windows, TLS 1.2 and later use |md5| as a backup handshake hash
159 + * for generating client auth signatures. Confusingly, the backup hash 159 + * for generating client auth signatures. Confusingly, the backup hash
160 + * function is SHA-1. */ 160 + * function is SHA-1. */
161 PK11Context * md5; 161 PK11Context * md5;
162 PK11Context * sha; 162 PK11Context * sha;
163 163
OLDNEW
« no previous file with comments | « net/third_party/nss/patches/applypatches.sh ('k') | net/third_party/nss/ssl/ssl3con.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698