GnuTLS: clear errno before any data i/o op, so error logging does not see stale values
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 6 Sep 2020 11:15:10 +0000 (12:15 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 6 Sep 2020 11:17:21 +0000 (12:17 +0100)
commit49d173f4e4c05bbc9e6f256f8914979dad85e9d3
tree9d68a6a7b070bb43277bb19854baee89f34256ec
parent062b77ca80a10aba99d2cf09d4a8600ca3385e24
GnuTLS: clear errno before any data i/o op, so error logging does not see stale values

(cherry picked from commit d52a8ce8499fbb88f4670623df9f52d3e790292b)
src/src/tls-gnu.c
test/log/5651
test/log/5730