andre@0: Index: nss/lib/certdb/genname.c andre@0: diff --git a/nss/lib/certdb/genname.c b/nss/lib/certdb/genname.c andre@0: index 412a9d2c6b165513b1ca785409c93d4631089db8..1b0cc970489478dc36bd9a4c38d8bca6231eb9b3 100644 andre@0: --- a/nss/lib/certdb/genname.c andre@0: +++ b/nss/lib/certdb/genname.c andre@0: @@ -1611,9 +1611,9 @@ getNameExtensionsBuiltIn(CERTCertificate *cert, andre@0: "\x73\x67\x64\x6E\x2E\x70\x6D\x2E\x67\x6F\x75" andre@0: "\x76\x2E\x66\x72"; andre@0: andre@0: - const SECItem anssi_subject = {0, (char *) rawANSSISubject, andre@0: + const SECItem anssi_subject = {0, (unsigned char *) rawANSSISubject, andre@0: sizeof(rawANSSISubject)-1}; andre@0: - const SECItem permitFranceGovNC = {0, (char *) constraintFranceGov, andre@0: + const SECItem permitFranceGovNC = {0, (unsigned char *) constraintFranceGov, andre@0: sizeof(constraintFranceGov)-1}; andre@0: andre@0: if (SECITEM_ItemsAreEqual(&cert->derSubject, &anssi_subject)) {