diff options
author | Arne Schwabe | 2021-03-03 13:38:18 +0100 |
---|---|---|
committer | Gert Doering | 2021-03-09 19:41:11 +0100 |
commit | 53229047a259b2edb9034802a33fe27636675ff9 (patch) | |
tree | 1eeb059cbedc3b15b895eb3f00a6aef45d8aab1e /src/openvpn/ssl.c | |
parent | 4cf01c8e4381403998341aa32f79f4bf24c7ccb1 (diff) | |
download | openvpn-53229047a259b2edb9034802a33fe27636675ff9.zip openvpn-53229047a259b2edb9034802a33fe27636675ff9.tar.gz |
Implement server side of AUTH_PENDING with extending timeout
Patch V2: eliminate parse_kid function, fix style
Patch V3: adding missing parameter in function, this was added
by a later patch in the original series
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20210303123818.16012-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21596.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/ssl.c')
-rw-r--r-- | src/openvpn/ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index f025fdb..04ad997 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -2659,6 +2659,7 @@ tls_process(struct tls_multi *multi, buf = reliable_get_buf_output_sequenced(ks->send_reliable); if (buf) { + ks->initial = now; ks->must_negotiate = now + session->opt->handshake_window; ks->auth_deferred_expire = now + auth_deferred_expire_window(session->opt); |