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