]> git.ipfire.org Git - thirdparty/gnutls.git/commit
gnutls_alert_send_appropriate: do not send alert to peer on all errors
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 21 Jan 2019 19:53:06 +0000 (20:53 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 23 Jan 2019 05:12:21 +0000 (06:12 +0100)
commitd9fa45cee17686fbf065ca5d99d0b0dc3d321c31
tree30031c8024864032d738b1c23733e551a2d12e87
parent19b69aca46b736a180fde9c00ed55ff6ff27c086
gnutls_alert_send_appropriate: do not send alert to peer on all errors

That is, do not send alerts for success, or for errors indicating that
an alert has been received. This changes the documented function behavior
but does not break any existing caller expectations.

Relates: #672

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lib/alert.c