Merge pull request #8298 from lealem47/zd18920

Printing the rfc822Mailbox x509 attribute
This commit is contained in:
Daniel Pouzzner
2024-12-18 22:19:32 -06:00
committed by GitHub

View File

@@ -13726,6 +13726,10 @@ static int get_dn_attr_by_nid(int n, const char** buf)
str = "title"; str = "title";
len = 5; len = 5;
break; break;
case WC_NID_rfc822Mailbox:
str = "mail";
len = 4;
break;
default: default:
WOLFSSL_MSG("Attribute type not found"); WOLFSSL_MSG("Attribute type not found");
str = NULL; str = NULL;