Fix for adding pkcs9 contentType entry name
This commit is contained in:
parent
1daaabf38a
commit
4821859bbc
@ -10500,6 +10500,7 @@ static int ConvertNIDToWolfSSL(int nid)
|
||||
case NID_organizationName: return ASN_ORG_NAME;
|
||||
case NID_organizationalUnitName: return ASN_ORGUNIT_NAME;
|
||||
case NID_emailAddress: return ASN_EMAIL_NAME;
|
||||
case NID_pkcs9_contentType: return ASN_CONTENT_TYPE;
|
||||
case NID_serialNumber: return ASN_SERIAL_NUMBER;
|
||||
case NID_userId: return ASN_USER_ID;
|
||||
case NID_businessCategory: return ASN_BUS_CAT;
|
||||
|
@ -710,6 +710,8 @@ enum DN_Tags {
|
||||
ASN_DNQUALIFIER = 0x2e, /* dnQualifier */
|
||||
#endif /* WOLFSSL_CERT_NAME_ALL */
|
||||
|
||||
ASN_CONTENT_TYPE = 0x03, /* pkcs9_contentType */
|
||||
|
||||
ASN_EMAIL_NAME = 0x98, /* not actual OID (see attrEmailOid) */
|
||||
ASN_CUSTOM_NAME = 0x99, /* not actual OID (see CertOidField) */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user