Fix for parsing pkcs9_contentType

This commit is contained in:
Lealem Amedie
2023-07-21 11:36:40 -06:00
parent 4821859bbc
commit 0cd5a293ca
3 changed files with 41 additions and 5 deletions

View File

@@ -12632,6 +12632,10 @@ static int get_dn_attr_by_nid(int n, const char** buf)
str = "DC";
len = 2;
break;
case NID_pkcs9_contentType:
str = "contentType";
len = 11;
break;
default:
WOLFSSL_MSG("Attribute type not found");
str = NULL;