summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gnutls_handshake.c2
-rw-r--r--lib/gnutls_int.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 98bdb1c5d9..3ef763cb7f 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -3427,7 +3427,7 @@ _gnutls_remove_unwanted_ciphersuites (gnutls_session_t session,
* This function will set the maximum size of all handshake messages.
* Handshakes over this size are rejected with
* %GNUTLS_E_HANDSHAKE_TOO_LARGE error code. The default value is
- * 48kb which is typically large enough. Set this to 0 if you do not
+ * 128kb which is typically large enough. Set this to 0 if you do not
* want to set an upper limit.
*
* The reason for restricting the handshake message sizes are to
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index ec9c2bcced..9fc40ef758 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -75,7 +75,7 @@ typedef struct
/* The size of a handshake message should not
* be larger than this value.
*/
-#define MAX_HANDSHAKE_PACKET_SIZE 48*1024
+#define MAX_HANDSHAKE_PACKET_SIZE 128*1024
#define TLS_MAX_SESSION_ID_SIZE 32