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 faad0d46a1..8df6709c11 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -119,7 +119,7 @@ typedef struct {
#define MAX_CIPHER_KEY_SIZE 32
#define MAX_USERNAME_SIZE 128
-#define MAX_SERVER_NAME_SIZE 128
+#define MAX_SERVER_NAME_SIZE 256
#define SESSION_TICKET_KEY_NAME_SIZE 16
#define SESSION_TICKET_KEY_SIZE 16