From: Nikos Mavrogiannopoulos Date: Tue, 14 Jan 2014 10:18:02 +0000 (+0100) Subject: Weak sec-param was replaced with Low. X-Git-Tag: gnutls_3_3_0pre0~342 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abb727f53df7a7a8bb91dc95aadab0f3e27c6080;p=thirdparty%2Fgnutls.git Weak sec-param was replaced with Low. --- diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c index db04aa4477..a89a2a6548 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -663,7 +663,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache, if (GNUTLS_VFLAGS_TO_PROFILE(priority_cache->additional_verify_flags) == 0) priority_cache->additional_verify_flags |= GNUTLS_PROFILE_TO_VFLAGS(GNUTLS_PROFILE_LEGACY); if (priority_cache->level == 0) - priority_cache->level = GNUTLS_SEC_PARAM_WEAK; + priority_cache->level = GNUTLS_SEC_PARAM_LOW; return 1; } else if (strcasecmp(level, LEVEL_NORMAL) == 0) { func(&priority_cache->cipher, cipher_priority_normal); @@ -675,7 +675,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache, if (GNUTLS_VFLAGS_TO_PROFILE(priority_cache->additional_verify_flags) == 0) priority_cache->additional_verify_flags |= GNUTLS_PROFILE_TO_VFLAGS(GNUTLS_PROFILE_LEGACY); if (priority_cache->level == 0) - priority_cache->level = GNUTLS_SEC_PARAM_WEAK; + priority_cache->level = GNUTLS_SEC_PARAM_LOW; return 1; } else if (strcasecmp(level, LEVEL_PFS) == 0) { func(&priority_cache->cipher, cipher_priority_normal); @@ -687,7 +687,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache, if (GNUTLS_VFLAGS_TO_PROFILE(priority_cache->additional_verify_flags) == 0) priority_cache->additional_verify_flags |= GNUTLS_PROFILE_TO_VFLAGS(GNUTLS_PROFILE_LEGACY); if (priority_cache->level == 0) - priority_cache->level = GNUTLS_SEC_PARAM_WEAK; + priority_cache->level = GNUTLS_SEC_PARAM_LOW; return 1; } else if (strcasecmp(level, LEVEL_SECURE256) == 0 || strcasecmp(level, LEVEL_SECURE192) == 0) {