From: Nikos Mavrogiannopoulos Date: Mon, 30 Sep 2013 21:46:02 +0000 (+0200) Subject: define subgroup bits for the weak and export parameters, to allow DH group generation. X-Git-Tag: gnutls_3_2_5~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec45596f725dcb280f851b6a944f19e7eeee4e95;p=thirdparty%2Fgnutls.git define subgroup bits for the weak and export parameters, to allow DH group generation. --- diff --git a/lib/algorithms/secparams.c b/lib/algorithms/secparams.c index 69acb96163..69425d4fd9 100644 --- a/lib/algorithms/secparams.c +++ b/lib/algorithms/secparams.c @@ -40,8 +40,8 @@ typedef struct static const gnutls_sec_params_entry sec_params[] = { {"Insecure", GNUTLS_SEC_PARAM_INSECURE, 0, 0, 0, 0, 0}, - {"Export", GNUTLS_SEC_PARAM_EXPORT, 42, 512, 0, 0, 0}, - {"Very weak", GNUTLS_SEC_PARAM_VERY_WEAK, 64, 727, 0, 0, 0}, + {"Export", GNUTLS_SEC_PARAM_EXPORT, 42, 512, 0, 150, 0}, + {"Very weak", GNUTLS_SEC_PARAM_VERY_WEAK, 64, 727, 0, 160, 0}, {"Weak", GNUTLS_SEC_PARAM_WEAK, 72, 1008, 1024, 160, 160}, {"Low", GNUTLS_SEC_PARAM_LOW, 80, 1248, 2048, 160, 160}, {"Legacy", GNUTLS_SEC_PARAM_LEGACY, 96, 1776, 2048, 192, 192},