mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Add attr to get_dn_attr_by_nid
This commit is contained in:
@ -12972,6 +12972,14 @@ static int get_dn_attr_by_nid(int n, const char** buf)
|
|||||||
str = "UID";
|
str = "UID";
|
||||||
len = 3;
|
len = 3;
|
||||||
break;
|
break;
|
||||||
|
case NID_serialNumber:
|
||||||
|
str = "serialNumber";
|
||||||
|
len = 12;
|
||||||
|
break;
|
||||||
|
case NID_title:
|
||||||
|
str = "title";
|
||||||
|
len = 5;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
WOLFSSL_MSG("Attribute type not found");
|
WOLFSSL_MSG("Attribute type not found");
|
||||||
str = NULL;
|
str = NULL;
|
||||||
|
Reference in New Issue
Block a user