From: Nikos Mavrogiannopoulos Date: Fri, 25 Oct 2013 18:09:06 +0000 (+0200) Subject: Added new fallback OID for RSA certificates. X-Git-Tag: gnutls_3_2_6~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06f07f3ae1268db1b36ff34a1d5e08e2c42c8a3f;p=thirdparty%2Fgnutls.git Added new fallback OID for RSA certificates. --- diff --git a/lib/algorithms/publickey.c b/lib/algorithms/publickey.c index 3de256336b..fa98298242 100644 --- a/lib/algorithms/publickey.c +++ b/lib/algorithms/publickey.c @@ -92,8 +92,9 @@ static const gnutls_pk_entry pk_algorithms[] = { {"UNKNOWN", NULL, GNUTLS_PK_UNKNOWN}, {"RSA", PK_PKIX1_RSA_OID, GNUTLS_PK_RSA}, {"RSA (X.509)", PK_X509_RSA_OID, GNUTLS_PK_RSA}, /* some certificates use this OID for RSA */ - {"RSA (MD5)", SIG_RSA_MD5_OID, GNUTLS_PK_RSA}, /* some other broken certificates set RSA with MD5 as an indicator of RSA */ - {"RSA (SHA1)", SIG_RSA_SHA1_OID, GNUTLS_PK_RSA}, /* some other broken certificates set RSA with SHA1 as an indicator of RSA */ + {"RSA-MD5", SIG_RSA_MD5_OID, GNUTLS_PK_RSA}, /* some other broken certificates set RSA with MD5 as an indicator of RSA */ + {"RSA-SHA1", SIG_RSA_SHA1_OID, GNUTLS_PK_RSA}, /* some other broken certificates set RSA with SHA1 as an indicator of RSA */ + {"RSA-SHA1", "1.3.14.3.2.29", GNUTLS_PK_RSA}, /* some other broken certificates set RSA with SHA1 as an indicator of RSA */ {"DSA", PK_DSA_OID, GNUTLS_PK_DSA}, {"GOST R 34.10-2001", PK_GOST_R3410_2001_OID, GNUTLS_PK_UNKNOWN}, {"GOST R 34.10-94", PK_GOST_R3410_94_OID, GNUTLS_PK_UNKNOWN},