From aa9c78ed6c0c164baa4ed67679b84f94ba66f616 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 25 May 2017 16:18:25 +0200 Subject: Increased the maximum number of signature algorithms That allows including all the existing signatures including DSA. Signed-off-by: Nikos Mavrogiannopoulos --- lib/gnutls_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 28adae80a8..04cf78f195 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -515,7 +515,7 @@ typedef struct { * structures also - see SRP). */ -#define MAX_SIGNATURE_ALGORITHMS 16 +#define MAX_SIGNATURE_ALGORITHMS GNUTLS_MAX_ALGORITHM_NUM #define MAX_SIGN_ALGO_SIZE (2 + MAX_SIGNATURE_ALGORITHMS * 2) #define MAX_VERIFY_DATA_SIZE 36 /* in SSL 3.0, 12 in TLS 1.0 */ -- cgit v1.2.1