]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
handle errors on initial TLS connection identically to subsequent reconnection
authorDaniel Lenski <dlenski@gmail.com>
Tue, 13 Oct 2020 02:26:10 +0000 (19:26 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Tue, 3 Nov 2020 21:21:54 +0000 (21:21 +0000)
commitbf4813a1499da6548fd5acb78fe1057d589df333
tree87ad105f70560583bd27626e8d130caa45be8b75
parent068c2becbb6cc6829166ede3f7e57a88ce7b2e30
handle errors on initial TLS connection identically to subsequent reconnection

In order to write OpenConnect wrapper scripts that decouple the
authentication phase and tunnel phase, while caching authentication cookies,
we need to be able to reliably distinguish errors from invalid/expired
cookies from other errors. This makes that possible.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
main.c