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

Unified Diff: patches/nss-genname-warnings.patch

Issue 317293002: Add the patch file for r275283. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/nss-genname-warnings.patch
diff --git a/patches/nss-genname-warnings.patch b/patches/nss-genname-warnings.patch
new file mode 100644
index 0000000000000000000000000000000000000000..d62b2b9f436c090ced7bb0c10b9e504e52900994
--- /dev/null
+++ b/patches/nss-genname-warnings.patch
@@ -0,0 +1,17 @@
+Index: nss/lib/certdb/genname.c
+diff --git a/nss/lib/certdb/genname.c b/nss/lib/certdb/genname.c
+index 412a9d2c6b165513b1ca785409c93d4631089db8..1b0cc970489478dc36bd9a4c38d8bca6231eb9b3 100644
+--- a/nss/lib/certdb/genname.c
++++ b/nss/lib/certdb/genname.c
+@@ -1611,9 +1611,9 @@ getNameExtensionsBuiltIn(CERTCertificate *cert,
+ "\x73\x67\x64\x6E\x2E\x70\x6D\x2E\x67\x6F\x75"
+ "\x76\x2E\x66\x72";
+
+- const SECItem anssi_subject = {0, (char *) rawANSSISubject,
++ const SECItem anssi_subject = {0, (unsigned char *) rawANSSISubject,
+ sizeof(rawANSSISubject)-1};
+- const SECItem permitFranceGovNC = {0, (char *) constraintFranceGov,
++ const SECItem permitFranceGovNC = {0, (unsigned char *) constraintFranceGov,
+ sizeof(constraintFranceGov)-1};
+
+ if (SECITEM_ItemsAreEqual(&cert->derSubject, &anssi_subject)) {
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698