From: Nikos Mavrogiannopoulos Date: Sat, 24 Jul 2010 08:54:06 +0000 (+0200) Subject: Fix DSA key values to avoid generating normal and reporting them as low. X-Git-Tag: gnutls_2_11_3~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abdb7543467e909c3d4e8686c107f766f4142bcc;p=thirdparty%2Fgnutls.git Fix DSA key values to avoid generating normal and reporting them as low. --- diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c index dce0a6f3ed..c3399f7597 100644 --- a/lib/gnutls_algorithms.c +++ b/lib/gnutls_algorithms.c @@ -45,8 +45,8 @@ typedef struct static const gnutls_sec_params_entry sec_params[] = { {"Weak", GNUTLS_SEC_PARAM_WEAK, 64, 816, 1024, 128, 128}, - {"Low", GNUTLS_SEC_PARAM_LOW, 80, 1248, 1024, 160, 160}, - {"Normal", GNUTLS_SEC_PARAM_NORMAL, 112, 2432, 2048, 224, 224}, + {"Low", GNUTLS_SEC_PARAM_LOW, 80, 1248, 2048, 160, 160}, + {"Normal", GNUTLS_SEC_PARAM_NORMAL, 112, 2432, 3072, 224, 224}, {"Weak", GNUTLS_SEC_PARAM_HIGH, 128, 3248, 3072, 256, 256}, {"Weak", GNUTLS_SEC_PARAM_ULTRA, 256, 15424, 3072, 512, 512}, {NULL, 0, 0, 0, 0, 0}