CSSM_CLUTIL_X509 method doesn't like empty sig structs.
Status: Abandoned
Brought to you by:
mdwood-intel
CSSM_CLUTIL_X509_DuplicateSignature () doesn't like empty signature structs.
Possible fixes for this problem:
The change can be made in the clutil library in misc.c under CSSM_CLUTIL_X509_DuplicateSignature (). The function can be modified to return an empty signature struct if it receives one.
OR
The change can be made in x509v3cl in crlfield.c under x509_cl_CrlGetField(). Under the switch case case OIDasINT_X509V1CRLSignatureCStruct, you can essentially skip the call to CSSM_CLUTIL_X509_DuplicateSignature () and manually build a empty signature struct there if what's passed in is an empty signature struct.
### 312_674 ###