summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-23 17:11:13 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-23 17:11:13 +0000
commitd871b05901c30bce8e615b3b5ed1f8b88703a701 (patch)
treede0050fb1d3a2dadc7ea7d4fd027beca72d7ec42
parent884b74a5bd368c55958a9e72105242fd8e7a762a (diff)
downloadgnutls-d871b05901c30bce8e615b3b5ed1f8b88703a701.tar.gz
*** empty log message ***
-rw-r--r--lib/x509/common.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 15191beb7a..a7273f04e5 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -36,6 +36,9 @@ typedef struct _oid2string {
int printable;
} oid2string;
+/* This list contains all the OIDs that may be
+ * contained in a rdnSequence and are printable.
+ */
static const oid2string _oid2str[] = {
{"2.5.4.6", "C", 0, 1},
{"2.5.4.12", "T", 1, 1},
@@ -51,12 +54,6 @@ static const oid2string _oid2str[] = {
{"0.9.2342.19200300.100.1.1", "UID", 0, 1}, /* FIXME: CHOICE? */
{"1.2.840.113549.1.9.1", "EMAIL", 0, 1},
{"1.2.840.113549.1.9.7", NULL, 1, 1},
- {PKIX1_RSA_OID, NULL, 0, 0},
-
- {RSA_MD5_OID, NULL, 0, 0},
- {RSA_SHA1_OID, NULL, 0, 0},
- {DSA_SHA1_OID, NULL, 0, 0},
- {DSA_OID, NULL, 0, 0},
{NULL, NULL, 0, 0}
};