Patch for _gnutls_send_finished in gnutls_handshake.c
Tim Kosse
tim.kosse at filezilla-project.org
Tue Jun 30 23:23:23 CEST 2009
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.
Regards,
Tim Kosse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handshake.patch
Type: text/x-patch
Size: 347 bytes
Desc: not available
URL: </pipermail/attachments/20090630/f35e883a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20090630/f35e883a/attachment.pgp>
More information about the Gnutls-devel
mailing list