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

Unified Diff: net/third_party/nss/patches/ecpointform.patch

Issue 11275240: Update net/third_party/nss/ssl to NSS 3.14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Upload before commit Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/third_party/nss/patches/dtlssrtp.patch ('k') | net/third_party/nss/patches/falsestartnpn.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/patches/ecpointform.patch
===================================================================
--- net/third_party/nss/patches/ecpointform.patch (revision 0)
+++ net/third_party/nss/patches/ecpointform.patch (revision 0)
@@ -0,0 +1,19 @@
+diff -pu -r a/net/third_party/nss/ssl/ssl3ecc.c b/net/third_party/nss/ssl/ssl3ecc.c
+--- a/net/third_party/nss/ssl/ssl3ecc.c 2012-06-10 19:38:30.000000000 -0700
++++ b/net/third_party/nss/ssl/ssl3ecc.c 2012-11-12 15:57:59.222697369 -0800
+@@ -33,6 +33,15 @@
+
+ #ifdef NSS_ENABLE_ECC
+
++/*
++ * In NSS 3.13.2 the definition of the EC_POINT_FORM_UNCOMPRESSED macro
++ * was moved from the internal header ec.h to the public header blapit.h.
++ * Define the macro here when compiling against older system NSS headers.
++ */
++#ifndef EC_POINT_FORM_UNCOMPRESSED
++#define EC_POINT_FORM_UNCOMPRESSED 0x04
++#endif
++
+ #ifndef PK11_SETATTRS
+ #define PK11_SETATTRS(x,id,v,l) (x)->type = (id); \
+ (x)->pValue=(v); (x)->ulValueLen = (l);
« no previous file with comments | « net/third_party/nss/patches/dtlssrtp.patch ('k') | net/third_party/nss/patches/falsestartnpn.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698