[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for _gnutls_send_finished in gnutls_handshake.c
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: Patch for _gnutls_send_finished in gnutls_handshake.c |
Date: |
Wed, 01 Jul 2009 22:25:33 +0300 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
Tim Kosse wrote:
> This is the handshake issue I've mentioned earlier. This problem exists
> in 2.6.4 as well as 2.8.
>
> If _gnutls_send_finished fails with GNUTLS_E_AGAIN or GNUTLS_E_AGAIN it
> eventually gets called a second time.
>
> It however does not call _gnutls_send_handshake with a NULL pointer on
> repeated calls, ultimately leading to an internal error in
> _gnutls_handshake_io_send_int.
>
> The attached patch simply makes sure to also pass a NULL pointer to
> _gnutls_send_handshake if data_size is 0.
Applied. Thank you!
- Re: Patch for _gnutls_send_finished in gnutls_handshake.c,
Nikos Mavrogiannopoulos <=