summaryrefslogtreecommitdiff
path: root/lib/pkix.asn
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-03-20 12:34:45 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-03-20 12:34:45 +0100
commit9fc12265de302c1b49475b69d9f93595628b56f7 (patch)
tree6b52f6b7a64afa51793904f181b795677a9bd8e0 /lib/pkix.asn
parent22fa439525f40851df1a02f561d1022bbeb14d7d (diff)
downloadgnutls-9fc12265de302c1b49475b69d9f93595628b56f7.tar.gz
Display postalCode and Name X.509 DN attributes correctly.
Based on patch by Pavan Konjarla.
Diffstat (limited to 'lib/pkix.asn')
-rw-r--r--lib/pkix.asn3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pkix.asn b/lib/pkix.asn
index 8b3993aa54..e105aae107 100644
--- a/lib/pkix.asn
+++ b/lib/pkix.asn
@@ -234,6 +234,9 @@ X520postalAddress ::= PostalAddress
PostalAddress ::= SEQUENCE OF DirectoryString
+id-at-postalCode AttributeType ::= {id-at 17}
+X520postalCode ::= DirectoryString
+
-- Legacy attributes
emailAddress AttributeType ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 9 1 }