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

Unified Diff: mozilla/security/nss/lib/certdb/secname.c

Issue 606034: NSS: update to 3.12.6 RC0 (Closed)
Patch Set: Created 10 years, 10 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
Index: mozilla/security/nss/lib/certdb/secname.c
diff --git a/mozilla/security/nss/lib/certdb/secname.c b/mozilla/security/nss/lib/certdb/secname.c
index 10108971950b01dd7a63fb7f1fc60d8c9670fa90..fba51827fa11a7845f37a37f94fca60b14eeaefb 100644
--- a/mozilla/security/nss/lib/certdb/secname.c
+++ b/mozilla/security/nss/lib/certdb/secname.c
@@ -590,7 +590,7 @@ CERT_CompareRDN(CERTRDN *a, CERTRDN *b)
if (ac > bc) return SECGreaterThan;
while (NULL != (aava = *aavas++)) {
- for (bavas = b->avas; bava = *bavas++; ) {
+ for (bavas = b->avas; NULL != (bava = *bavas++); ) {
rv = SECITEM_CompareItem(&aava->type, &bava->type);
if (SECEqual == rv) {
rv = CERT_CompareAVA(aava, bava);

Powered by Google App Engine
This is Rietveld 408576698