]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix DSA key values to avoid generating normal and reporting them as low.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 24 Jul 2010 08:54:06 +0000 (10:54 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 24 Jul 2010 08:54:06 +0000 (10:54 +0200)
lib/gnutls_algorithms.c

index dce0a6f3edc37c9f63af2bdb4d3c448573d1f1a2..c3399f759716c1878139f36b7ae95fe7af3db5c3 100644 (file)
@@ -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}