[gnutls-devel] GnuTLS | gnutls-cli does not report failed handshake when debug level < 3 (#1040)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jun 18 10:33:06 CEST 2020



Markus Wamser created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1040



## Description of problem:

gnutls-cli returns exit code 0 and does not report any error although the server side reports a failed handshake.
This behaviour changes when the debug level is set to 3 via `-d 3`.

This is a regression probably introduced between 3.6.2 and 3.6.6.

## Version of gnutls used:

3.6.14

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

NixOS

## How reproducible:

Please see this issue: https://github.com/NixOS/nixpkgs/issues/84507 for details, which also links to runs with different versions of gnutls-cli that demonstrate the introduction of this regression and the workaround proposed here:
https://github.com/NixOS/nixpkgs/pull/90718

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1040
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/20200618/e67aab1f/attachment.html>


More information about the Gnutls-devel mailing list