[gnutls-devel] gnutls-cli can't start a TLS session with a SIGALRM

Kazuhiro Fujieda fujieda at acm.org
Sun May 12 15:09:53 CEST 2013


Hi,

The gnutls-cli program can't start a TLS session with a SIGALRM
since the following commit:
https://gitorious.org/gnutls/gnutls/commit/20e0e448a2f3685cc6244f7c052b32f3f0719f73

The check_net_or_keyboard_input() doesn't return the control
when it catches the signal and the select() returns -1.
The surrounding loop causes this problem. The attached patch can
fix it.

Regards,
-- 
Kazuhiro Fujieda
fujieda at acm.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cli.c.diff
Type: text/x-patch
Size: 1696 bytes
Desc: not available
URL: </pipermail/attachments/20130512/aac0b451/attachment.bin>


More information about the Gnutls-devel mailing list