summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */