summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-21 12:20:46 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-21 12:20:46 +0000
commitffb5c9c9370077054b30b7543e5df7116d78e51b (patch)
treed81592dc17d87d497beb4fd9dddd9e79d697c478 /lib
parentc6e550d0e1096a4281d28fb3c53a6e2668819fb6 (diff)
downloadgnutls-ffb5c9c9370077054b30b7543e5df7116d78e51b.tar.gz
corrected countryName
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_x509.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 9f7a56808e..585cc81640 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -115,12 +115,9 @@ ASN1_TYPE tmpasn;
res[0] = 0;
if (strcmp( OID, "2 5 4 6") == 0) {
-#ifdef DEBUG
-# warning " FIX COUNTRY HERE"
-#endif
- ANAME = "X520OrganizationName";
+ ANAME = "X520countryName";
TYPE = "countryName";
- CHOICE = 1;
+ CHOICE = 0;
} else if (strcmp( OID, "2 5 4 10") == 0) {
ANAME = "X520OrganizationName";
TYPE = "OrganizationName";