From 651dab3dbf62ff59f194e6c8f6c46f0938cb07bd Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 17 Dec 2024 15:39:23 -0700 Subject: [PATCH] Printing the rfc822Mailbox x509 attribute --- src/x509.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x509.c b/src/x509.c index 40b427522..ec66ccf01 100644 --- a/src/x509.c +++ b/src/x509.c @@ -13726,6 +13726,10 @@ static int get_dn_attr_by_nid(int n, const char** buf) str = "title"; len = 5; break; + case WC_NID_rfc822Mailbox: + str = "mail"; + len = 4; + break; default: WOLFSSL_MSG("Attribute type not found"); str = NULL;