Skip to content

Commit

Permalink
Printing the rfc822Mailbox x509 attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lealem47 authored and gasbytes committed Dec 21, 2024
1 parent cdb13f0 commit 4c58ece
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 @@ -13728,6 +13728,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 4c58ece

Please sign in to comment.