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; |