Skip to content

Commit

Permalink
Merge pull request #8298 from lealem47/zd18920
Browse files Browse the repository at this point in the history
Printing the rfc822Mailbox x509 attribute
  • Loading branch information
douzzer authored Dec 19, 2024
2 parents ed76d8e + 651dab3 commit 836ee1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 836ee1c

Please sign in to comment.