summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-24 18:00:28 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-24 18:00:38 +0100
commit4e52df21c2bf9ef4b30a02086614af713ba20754 (patch)
tree646ec13780a69ac48ab376f1a2bf372267e51d84
parentf3f07802392f183d36ee6852cecb1859d7c04ed7 (diff)
downloadgnutls-4e52df21c2bf9ef4b30a02086614af713ba20754.tar.gz
corrected placeOfBirth DN parsing.
-rw-r--r--lib/x509/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 0eff7a8bc1..8de90f6677 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -48,7 +48,7 @@ static const struct oid2string _oid2str[] = {
/* PKIX
*/
{"1.3.6.1.5.5.7.9.1", "dateOfBirth", 0, 1, "PKIX1.GeneralizedTime"},
- {"1.3.6.1.5.5.7.9.2", "placeOfBirth", 0, 1, "PKIX1.DirectoryString"},
+ {"1.3.6.1.5.5.7.9.2", "placeOfBirth", 1, 1, "PKIX1.DirectoryString"},
{"1.3.6.1.5.5.7.9.3", "gender", 0, 1, "PKIX1.PrintableString"},
{"1.3.6.1.5.5.7.9.4", "countryOfCitizenship", 0, 1,
"PKIX1.PrintableString"},