зеркало из https://github.com/mozilla/gecko-dev.git
Bug 291555. Makes certutil process null CSR ext req lists as it did before NSS3.10. r=nelson
This commit is contained in:
Родитель
b902d005c2
Коммит
b2e194a3d0
|
@ -268,7 +268,7 @@ CERT_FinishCertificateRequestAttributes(CERTCertificateRequest *req)
|
|||
PORT_SetError(SEC_ERROR_INVALID_ARGS);
|
||||
return SECFailure;
|
||||
}
|
||||
if (req->attributes == NULL)
|
||||
if (req->attributes == NULL || req->attributes[0] == NULL)
|
||||
return SECSuccess;
|
||||
|
||||
extlist = SEC_ASN1EncodeItem(req->arena, NULL, &req->attributes,
|
||||
|
|
Загрузка…
Ссылка в новой задаче