From 95cd9c81c899e630d15ba7313df25b0225f25a8d Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Tue, 18 Jun 2024 14:41:58 -0500 Subject: [PATCH] Add attr to get_dn_attr_by_nid --- src/x509.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/x509.c b/src/x509.c index 2fcc5d931..6c9c769cd 100644 --- a/src/x509.c +++ b/src/x509.c @@ -12972,6 +12972,14 @@ static int get_dn_attr_by_nid(int n, const char** buf) str = "UID"; len = 3; break; + case NID_serialNumber: + str = "serialNumber"; + len = 12; + break; + case NID_title: + str = "title"; + len = 5; + break; default: WOLFSSL_MSG("Attribute type not found"); str = NULL;