summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2013-04-27 15:39:05 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-04-27 21:44:05 +0300
commitff898e97ef38124eb4843d8c27db0f0bd2b64663 (patch)
tree58f3e703e00f3cc609abbd671fedcded34749d06
parent297fac2194a2c9e62922cfcc6ac4d99716006a23 (diff)
downloadgnutls-ff898e97ef38124eb4843d8c27db0f0bd2b64663.tar.gz
Add the standard description OID to those recognized for DNs
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--lib/x509/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index cbdc32a822..6dc5b1494a 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -65,6 +65,7 @@ static const struct oid_to_string _oid2str[] = {
{"2.5.4.3", "CN", "PKIX1.DirectoryString", ASN1_ETYPE_INVALID},
{"2.5.4.7", "L", "PKIX1.DirectoryString", ASN1_ETYPE_INVALID},
{"2.5.4.8", "ST", "PKIX1.DirectoryString", ASN1_ETYPE_INVALID},
+ {"2.5.4.13", "description", "PKIX1.DirectoryString", ASN1_ETYPE_INVALID},
{"2.5.4.5", "serialNumber", NULL, ASN1_ETYPE_PRINTABLE_STRING},
{"2.5.4.20", "telephoneNumber", NULL, ASN1_ETYPE_PRINTABLE_STRING},