summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-25 16:18:25 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-29 08:41:21 +0200
commitaa9c78ed6c0c164baa4ed67679b84f94ba66f616 (patch)
treebf67a37dc2f88dd671b522f39b4ee63e53a00116
parent8cd428cfc03807802998c605da505cc1d6200d98 (diff)
downloadgnutls-aa9c78ed6c0c164baa4ed67679b84f94ba66f616.tar.gz
Increased the maximum number of signature algorithms
That allows including all the existing signatures including DSA. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/gnutls_int.h2
1 files changed, 1 insertions, 1 deletions
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 */