On 05/28/2011 10:21 PM, Dash Shendy wrote:
> Hi,
>
> I get the compression method as 255 in the server hello packet when
> using IE8.
>
> Please have a look at the attached packet-capture.
Nice catch. The problem is on resumed sessions. Does the
attached patch fix the issue for you?
regards,
Nikos
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 986d11b..e4a63e4 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -123,6 +123,7 @@ resume_copy_required_values (gnutls_session_t session)
memcpy (session->security_parameters.current_cipher_suite.suite,
session->internals.resumed_security_parameters.current_cipher_suite.
suite, 2);
+ session->internals.compression_method =
session->internals.resumed_compression_method;
_gnutls_epoch_set_cipher_suite (session, EPOCH_NEXT,
&session->
_______________________________________________
Help-gnutls mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnutls