From: Nikos Mavrogiannopoulos Date: Sun, 13 Mar 2011 05:55:41 +0000 (+0100) Subject: Added DSA-SHA256, DSA-SHA224 and RSA-SHA224 to the supported signature algorithms... X-Git-Tag: gnutls_2_99_0~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0255af596882ffbcf4661e9b8947a20cd21a23fa;p=thirdparty%2Fgnutls.git Added DSA-SHA256, DSA-SHA224 and RSA-SHA224 to the supported signature algorithms list. Suggested by teddy@fukt.bsnet.se --- diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c index f5063f184d..79a71679f8 100644 --- a/lib/gnutls_algorithms.c +++ b/lib/gnutls_algorithms.c @@ -2014,11 +2014,14 @@ static const gnutls_sign_entry sign_algorithms[] = { /* Keep the contents of this struct the same as the previous one. */ static const gnutls_sign_algorithm_t supported_sign[] = { GNUTLS_SIGN_RSA_SHA1, + GNUTLS_SIGN_RSA_SHA224, GNUTLS_SIGN_RSA_SHA256, GNUTLS_SIGN_RSA_SHA384, GNUTLS_SIGN_RSA_SHA512, GNUTLS_SIGN_RSA_RMD160, GNUTLS_SIGN_DSA_SHA1, + GNUTLS_SIGN_DSA_SHA224, + GNUTLS_SIGN_DSA_SHA256, GNUTLS_SIGN_RSA_MD5, GNUTLS_SIGN_RSA_MD2, 0