diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-24 10:53:11 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-24 10:53:11 +0200 |
commit | ca71c7f33407faeaca6d89a96c9d3466b37234d9 (patch) | |
tree | f0d5e26109771e3012de574ddb1f4f5e8e4ac1ea | |
parent | b1b3ea3c38383282a381aff5fe17aa42fbeeab05 (diff) | |
download | gnutls-ca71c7f33407faeaca6d89a96c9d3466b37234d9.tar.gz |
use RSA-SHA1 as an indicator of RSA certificates.
-rw-r--r-- | lib/gnutls_algorithms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c index bdeba0a78c..28b786db5c 100644 --- a/lib/gnutls_algorithms.c +++ b/lib/gnutls_algorithms.c @@ -2124,6 +2124,7 @@ static const gnutls_pk_entry pk_algorithms[] = { {"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 */ {"DSA", PK_DSA_OID, GNUTLS_PK_DSA}, {"GOST R 34.10-2001", PK_GOST_R3410_2001_OID, 0}, {"GOST R 34.10-94", PK_GOST_R3410_94_OID, 0}, |