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

Unified Diff: patches/nss-utilpars.patch

Issue 11362174: Update NSS to NSS 3.14 pre-release snapshot 2012-06-28 01:00:00 PDT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update the snapshot timestamp in README.chromium 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
Index: patches/nss-utilpars.patch
===================================================================
--- patches/nss-utilpars.patch (revision 0)
+++ patches/nss-utilpars.patch (revision 0)
@@ -0,0 +1,38 @@
+Index: mozilla/security/nss/lib/util/utilpars.c
+===================================================================
+RCS file: /cvsroot/mozilla/security/nss/lib/util/utilpars.c,v
+retrieving revision 1.1
+retrieving revision 1.3
+diff -p -u -r1.1 -r1.3
+--- mozilla/security/nss/lib/util/utilpars.c 26 Jun 2012 22:27:33 -0000 1.1
++++ mozilla/security/nss/lib/util/utilpars.c 25 Sep 2012 00:35:19 -0000 1.3
+@@ -2,9 +2,9 @@
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ /*
+- * The following code handles the storage of PKCS 11 modules used by the
++ * The following code handles the storage of PKCS 11 modules used by the
+ * NSS. This file is written to abstract away how the modules are
+- * stored so we can deside that later.
++ * stored so we can decide that later.
+ */
+ #include "secport.h"
+ #include "prprf.h"
+@@ -325,7 +325,7 @@ nssutil_escapeQuotesSize(const char *str
+ if ((*src == quote) || (*src == '\\')) escapes++;
+ size++;
+ }
+- return size;
++ return size+escapes+1;
+
+ }
+
+@@ -359,7 +359,7 @@ nssutil_escapeQuotes(const char *string,
+ int
+ NSSUTIL_EscapeSize(const char *string, char quote)
+ {
+- return nssutil_escapeQuotesSize(string, quote, PR_TRUE);
++ return nssutil_escapeQuotesSize(string, quote, PR_FALSE);
+ }
+
+ char *

Powered by Google App Engine
This is Rietveld 408576698