diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-06-21 12:20:46 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-06-21 12:20:46 +0000 |
commit | ffb5c9c9370077054b30b7543e5df7116d78e51b (patch) | |
tree | d81592dc17d87d497beb4fd9dddd9e79d697c478 | |
parent | c6e550d0e1096a4281d28fb3c53a6e2668819fb6 (diff) | |
download | gnutls-ffb5c9c9370077054b30b7543e5df7116d78e51b.tar.gz |
corrected countryName
-rw-r--r-- | lib/gnutls_x509.c | 7 |
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"; |