]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
further relaxed security levels
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Feb 2013 10:46:21 +0000 (11:46 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Feb 2013 10:46:21 +0000 (11:46 +0100)
lib/gnutls_priority.c

index 633cc728f8ce4f3c313a51237879e1c7486a5f6c..33ed29442eb54caf03842ac0c340b9e0fd474637 100644 (file)
@@ -691,9 +691,9 @@ bulk_rmadd_func *func;
                      sign_priority_secure128);
       func (&priority_cache->supported_ecc, supported_ecc_secure128);
 
-      /* be conservative for now. Set the bits to correspond to an 80-bit level */
+      /* be conservative for now. Set the bits to correspond to an 72-bit level */
       if (priority_cache->level == 0)
-        priority_cache->level = GNUTLS_SEC_PARAM_LOW;
+        priority_cache->level = GNUTLS_SEC_PARAM_WEAK;
       return 1;
     }
   else if (strcasecmp (level, LEVEL_SUITEB128) == 0)