]> git.ipfire.org Git - thirdparty/strongswan.git/commit
unit-tests: Make TLS echo server cancelable
authorTobias Brunner <tobias@strongswan.org>
Mon, 5 Sep 2022 15:10:21 +0000 (17:10 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 6 Sep 2022 07:33:00 +0000 (09:33 +0200)
commit879ffd7eceb846d88fdf64e3df3e2ea3295a4ebc
tree7caebb9852ef205072ef8ea9e247163d76bb5704
parent88859b506c1b17390ceb317aa041fbbe04006c68
unit-tests: Make TLS echo server cancelable

Seems to be required on macOS (libtls tests didn't run before the recent
implicit enabling via pki).  Other platforms apparently let accept() fail
if the socket is shutdown/closed in teardown_creds(), macOS apparently
doesn't do that.
src/libtls/tests/suites/test_socket.c