diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-17 20:19:42 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-17 20:19:42 +0200 |
commit | a21d08f3a571871d3dfaca40e12dd8a4aed6b69c (patch) | |
tree | 07b39b4beeeb762e51d37b1e81a36c8f102d983e /lib/algorithms/secparams.c | |
parent | f1ead0f60c33b14831f330b0cc8692e38315f6ed (diff) | |
download | gnutls-a21d08f3a571871d3dfaca40e12dd8a4aed6b69c.tar.gz |
Increased security levels by adding insecure.
Diffstat (limited to 'lib/algorithms/secparams.c')
-rw-r--r-- | lib/algorithms/secparams.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/algorithms/secparams.c b/lib/algorithms/secparams.c index fabd34ed2b..2c88ba0f2b 100644 --- a/lib/algorithms/secparams.c +++ b/lib/algorithms/secparams.c @@ -39,8 +39,9 @@ typedef struct } gnutls_sec_params_entry; static const gnutls_sec_params_entry sec_params[] = { - {"Weak", GNUTLS_SEC_PARAM_WEAK, 0, 0, 0, 0, 0}, - {"Low", GNUTLS_SEC_PARAM_LOW, 80, 1248, 2048, 160, 160}, + {"Insecure", GNUTLS_SEC_PARAM_INSECURE, 0, 0, 0, 0, 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}, {"Normal", GNUTLS_SEC_PARAM_NORMAL, 112, 2432, 3072, 224, 224}, {"High", GNUTLS_SEC_PARAM_HIGH, 128, 3248, 3072, 256, 256}, |