[gnutls-devel] GnuTLS | gnutls-cli: Fix --starttls-proto=xmpp (!911)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Feb 22 15:24:47 CET 2019


> BTW, `starttls-pop3.sh` starts `gnutls-serv` - what for ??? Removing it doesn't change a thing.

Does it? I see it starting socat server. The logic is a lit strange, but it opens a socat server which will chat the protocol in question. If the negotiation of the starttls protocol fails gnutls-cli will return 2 as error code, and that's what the script is waiting for to detect failure. exit code 1 means that the handshake or something else has failed, and that's expected.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/911#note_144083816
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190222/2cc8c142/attachment.html>


More information about the Gnutls-devel mailing list