Patch for _gnutls_send_finished in gnutls_handshake.c

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Jul 1 21:25:33 CEST 2009


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!





More information about the Gnutls-devel mailing list