tnccs-20: Defer handshake retry when sending SRETRY batch
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 28 Jul 2018 12:57:49 +0000 (14:57 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 1 Aug 2018 13:44:49 +0000 (15:44 +0200)
commit6a59e1fa9e84de85d7cee0ab9180550333fd25d9
tree4ac16caa52060c16c07ad64e0d7c07adb0afc51e
parent731e043c8e072832e9c75c7cf609b5f7a63b43c8
tnccs-20: Defer handshake retry when sending SRETRY batch

Set a retry_handshake flag on a TNC server when sending a SRETRY
batch and do the retry only after receiving the next CDATA batch
from the TNC client.
src/libtnccs/plugins/tnccs_20/tnccs_20_server.c