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

Unified Diff: mozilla/security/nss/lib/pkcs7/certread.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/pkcs7/certread.c
diff --git a/mozilla/security/nss/lib/pkcs7/certread.c b/mozilla/security/nss/lib/pkcs7/certread.c
index 31422095327cef3b822fc2aacbb4227d746aa645..6077fbe2555e23e79fa0d96095b0f9dadacf2948 100644
--- a/mozilla/security/nss/lib/pkcs7/certread.c
+++ b/mozilla/security/nss/lib/pkcs7/certread.c
@@ -360,7 +360,7 @@ notder:
while ( cl >= NS_CERT_TRAILER_LEN ) {
if ( !PORT_Strncasecmp((char *)cp, NS_CERT_TRAILER,
NS_CERT_TRAILER_LEN) ) {
- certend = (unsigned char *)cp;
+ certend = cp;
break;
}
@@ -383,7 +383,7 @@ notder:
*certend = 0;
/* convert to binary */
- bincert = ATOB_AsciiToData(certbegin, &binLen);
+ bincert = ATOB_AsciiToData((char *)certbegin, &binLen);
if (!bincert) {
rv = SECFailure;
goto loser;

Powered by Google App Engine
This is Rietveld 408576698