[gnutls-devel] GnuTLS | support non-NULL-terminated PSKs (!917)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat Oct 5 04:11:20 CEST 2019

Nikos Mavrogiannopoulos commented:

The test that fails on aarch64 is:
ntest NORMAL:-VERS-ALL:+VERS-TLS1.3:+PSK:+DHE-PSK (user:00)
client:144: expected cli error -53 (Error in the push function.), got -12 (A TLS fatal alert has been received.)
_check_wait_status:160: Child died with status 1
FAIL psk-file (exit status: 1)
This is a test that you added and expects authentication to fail by abruptive closure. However on aarch64 it seems to be receiving an alert. As the library does not send alerts, the issue is in the test itself. Is the error case you have in mind to test supposed to trigger an alert or not? If yes, maybe the issue is on the succeeding systems who don't send it. I see the call to `gnutls_alert_send_appropriate()` is not within a do while loop checking for E_AGAIN or E_INTERRUPTED.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_226344962
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/20191005/72de59b3/attachment.html>

More information about the Gnutls-devel mailing list