Skip to content

Commit 95cd9c8

Browse files
committed
Add attr to get_dn_attr_by_nid
1 parent 0cd3bd7 commit 95cd9c8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/x509.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12972,6 +12972,14 @@ static int get_dn_attr_by_nid(int n, const char** buf)
1297212972
str = "UID";
1297312973
len = 3;
1297412974
break;
12975+
case NID_serialNumber:
12976+
str = "serialNumber";
12977+
len = 12;
12978+
break;
12979+
case NID_title:
12980+
str = "title";
12981+
len = 5;
12982+
break;
1297512983
default:
1297612984
WOLFSSL_MSG("Attribute type not found");
1297712985
str = NULL;

0 commit comments

Comments
 (0)