mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Bug 1735028 - check for missing signedData field r=keeler
This commit is contained in:
parent
afc2f71d70
commit
e3fb994063
1 changed files with 5 additions and 0 deletions
|
|
@ -139,6 +139,11 @@ SEC_ReadPKCS7Certs(SECItem *pkcs7Item, CERTImportCertificateFunc f, void *arg)
|
||||||
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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue