diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-04-29 10:29:59 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-04-29 10:29:59 +0200 |
commit | 5b9eaad29a39ed2920c2934472bce60776b4623e (patch) | |
tree | b9aa4efe8a972d88b55ef8eed18cd8c8c519ec28 | |
parent | 5c64f1eb97aa54dc45e6e6b30f379adf0427f67b (diff) | |
download | gnutls-5b9eaad29a39ed2920c2934472bce60776b4623e.tar.gz |
Increase max handshake packet size.
Thanks to Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F.
Clemente" <marc@mclemente.net> for reporting and providing test servers.
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | lib/gnutls_int.h | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -5,6 +5,13 @@ See the end for copying conditions. * Version 2.2.3 (unreleased) +** Increase default handshake packet size limit to 48kb. +The old limit was 16kb and some servers send huge list of trusted CAs, +thus running into the limit. FYI, applications can further increase +this limit using gnutls_handshake_set_max_packet_length. Thanks to +Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente" +<marc@mclemente.net> for reporting and providing test servers. + ** Fix compilation error related to __FUNCTION__ on some systems. Reported by Tim Mooney, see <https://savannah.gnu.org/support/?106267>. diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 9194a4ff27..c19aa5a3d3 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation + * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation * * Author: Nikos Mavrogiannopoulos * @@ -55,7 +55,7 @@ /* The size of a handshake message should not * be larger than this value. */ -#define MAX_HANDSHAKE_PACKET_SIZE 16*1024 +#define MAX_HANDSHAKE_PACKET_SIZE 48*1024 #define TLS_RANDOM_SIZE 32 #define TLS_MAX_SESSION_ID_SIZE 32 |