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