mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 291555. Makes certutil process null CSR ext req lists as it did before NSS3.10. r=nelson
This commit is contained in:
parent
b902d005c2
commit
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,
|
||||
|
Loading…
Reference in New Issue
Block a user