"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "platform/security/nss/lib/pkcs7/certread.c" between
basilisk-2021.12.14-source.tar.xz and basilisk-2022.01.27-source.tar.xz

About: Basilisk is an XUL-based web-browser demonstrating the Unified XUL Platform (UXP), featuring the well-known Firefox-style interface and operation ("development software").

certread.c  (basilisk-2021.12.14-source.tar.xz):certread.c  (basilisk-2022.01.27-source.tar.xz)
skipping to change at line 142 skipping to change at line 142
PORT_Memset(&contentInfo, 0, sizeof(contentInfo)); PORT_Memset(&contentInfo, 0, sizeof(contentInfo));
if (SEC_ASN1DecodeItem(arena, &contentInfo, ContentInfoTemplate, if (SEC_ASN1DecodeItem(arena, &contentInfo, ContentInfoTemplate,
pkcs7Item) != SECSuccess) { pkcs7Item) != SECSuccess) {
goto done; goto done;
} }
if (GetContentTypeTag(&contentInfo) != SEC_OID_PKCS7_SIGNED_DATA) { if (GetContentTypeTag(&contentInfo) != SEC_OID_PKCS7_SIGNED_DATA) {
goto done; goto done;
} }
if (contentInfo.content.signedData == NULL) {
PORT_SetError(SEC_ERROR_BAD_DER);
goto done;
}
rv = SECSuccess; rv = SECSuccess;
certs = contentInfo.content.signedData->certificates; certs = contentInfo.content.signedData->certificates;
if (certs) { if (certs) {
count = 0; count = 0;
while (*certs) { while (*certs) {
count++; count++;
certs++; certs++;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)