]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
List MLDSA algorithms first in the priority array.
authord-Dudas <david.dudas03@e-uvt.ro>
Tue, 4 Mar 2025 18:57:40 +0000 (20:57 +0200)
committerd-Dudas <david.dudas03@e-uvt.ro>
Wed, 2 Apr 2025 12:03:10 +0000 (15:03 +0300)
Signed-off-by: David Dudas <david.dudas03@e-uvt.ro>
lib/priority.c

index 9d2baf364e1e5326dfbb3c64e4fb38bb0f71af38..7760098aeab41125052ba7efa7b468edb3724f19 100644 (file)
@@ -355,6 +355,10 @@ static const int _cipher_priority_secure192[] = {
 static const int *cipher_priority_secure192 = _cipher_priority_secure192;
 
 static const int _sign_priority_default[] = {
+       GNUTLS_SIGN_MLDSA44,
+       GNUTLS_SIGN_MLDSA65,
+       GNUTLS_SIGN_MLDSA87,
+
        GNUTLS_SIGN_RSA_SHA256,
        GNUTLS_SIGN_RSA_PSS_SHA256,
        GNUTLS_SIGN_RSA_PSS_RSAE_SHA256,
@@ -381,10 +385,6 @@ static const int _sign_priority_default[] = {
        GNUTLS_SIGN_RSA_SHA1,
        GNUTLS_SIGN_ECDSA_SHA1,
 
-       GNUTLS_SIGN_MLDSA44,
-       GNUTLS_SIGN_MLDSA65,
-       GNUTLS_SIGN_MLDSA87,
-
        0
 };