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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Index: mozilla/security/nss/lib/util/utilpars.c
2 ===================================================================
3 RCS file: /cvsroot/mozilla/security/nss/lib/util/utilpars.c,v
4 retrieving revision 1.1
5 retrieving revision 1.3
6 diff -p -u -r1.1 -r1.3
7 --- mozilla/security/nss/lib/util/utilpars.c 26 Jun 2012 22:27:33 -0000 1.1
8 +++ mozilla/security/nss/lib/util/utilpars.c 25 Sep 2012 00:35:19 -0000 1.3
9 @@ -2,9 +2,9 @@
10 * License, v. 2.0. If a copy of the MPL was not distributed with this
11 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
12 /*
13 - * The following code handles the storage of PKCS 11 modules used by the
14 + * The following code handles the storage of PKCS 11 modules used by the
15 * NSS. This file is written to abstract away how the modules are
16 - * stored so we can deside that later.
17 + * stored so we can decide that later.
18 */
19 #include "secport.h"
20 #include "prprf.h"
21 @@ -325,7 +325,7 @@ nssutil_escapeQuotesSize(const char *str
22 if ((*src == quote) || (*src == '\\')) escapes++;
23 size++;
24 }
25 - return size;
26 + return size+escapes+1;
27
28 }
29
30 @@ -359,7 +359,7 @@ nssutil_escapeQuotes(const char *string,
31 int
32 NSSUTIL_EscapeSize(const char *string, char quote)
33 {
34 - return nssutil_escapeQuotesSize(string, quote, PR_TRUE);
35 + return nssutil_escapeQuotesSize(string, quote, PR_FALSE);
36 }
37
38 char *
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698