|
|
b88a44 |
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
|
|
|
b88a44 |
index c5998ab..ffefce1 100644
|
|
|
b88a44 |
--- a/lib/gnutls_priority.c
|
|
|
b88a44 |
+++ b/lib/gnutls_priority.c
|
|
|
b88a44 |
@@ -684,7 +684,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache,
|
|
|
b88a44 |
func(&priority_cache->supported_ecc, supported_ecc_normal);
|
|
|
b88a44 |
|
|
|
b88a44 |
SET_PROFILE(GNUTLS_PROFILE_LOW); /* set certificate level */
|
|
|
b88a44 |
- SET_LEVEL(GNUTLS_SEC_PARAM_WEAK); /* set DH params level */
|
|
|
b88a44 |
+ SET_LEVEL(GNUTLS_SEC_PARAM_LOW); /* set DH params level */
|
|
|
b88a44 |
return 1;
|
|
|
b88a44 |
} else if (strcasecmp(level, LEVEL_NORMAL) == 0) {
|
|
|
b88a44 |
func(&priority_cache->cipher, cipher_priority_normal);
|
|
|
b88a44 |
@@ -694,7 +694,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache,
|
|
|
b88a44 |
func(&priority_cache->supported_ecc, supported_ecc_normal);
|
|
|
b88a44 |
|
|
|
b88a44 |
SET_PROFILE(GNUTLS_PROFILE_LOW);
|
|
|
b88a44 |
- SET_LEVEL(GNUTLS_SEC_PARAM_WEAK);
|
|
|
b88a44 |
+ SET_LEVEL(GNUTLS_SEC_PARAM_LOW);
|
|
|
b88a44 |
return 1;
|
|
|
b88a44 |
} else if (strcasecmp(level, LEVEL_PFS) == 0) {
|
|
|
b88a44 |
func(&priority_cache->cipher, cipher_priority_normal);
|
|
|
b88a44 |
@@ -704,7 +704,7 @@ int check_level(const char *level, gnutls_priority_t priority_cache,
|
|
|
b88a44 |
func(&priority_cache->supported_ecc, supported_ecc_normal);
|
|
|
b88a44 |
|
|
|
b88a44 |
SET_PROFILE(GNUTLS_PROFILE_LOW);
|
|
|
b88a44 |
- SET_LEVEL(GNUTLS_SEC_PARAM_WEAK);
|
|
|
b88a44 |
+ SET_LEVEL(GNUTLS_SEC_PARAM_LOW);
|
|
|
b88a44 |
return 1;
|
|
|
b88a44 |
} else if (strcasecmp(level, LEVEL_SECURE256) == 0
|
|
|
b88a44 |
|| strcasecmp(level, LEVEL_SECURE192) == 0) {
|