]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove unused function tls_test_auth_deferred_interval
authorArne Schwabe <arne@rfc2549.org>
Thu, 1 Apr 2021 13:13:31 +0000 (15:13 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 1 Apr 2021 13:53:59 +0000 (15:53 +0200)
This function appears to completely unused and has not been touched
since 2008.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210401131337.3684-9-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21949.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.h

index 8c8cbe02837239de7f07ad52804c5eb52fdfde89..300a70d35fcb72ca9373282654e43d3ae1b6b7e4 100644 (file)
@@ -530,17 +530,6 @@ tls_initial_packet_received(const struct tls_multi *multi)
     return multi->n_sessions > 0;
 }
 
-static inline bool
-tls_test_auth_deferred_interval(const struct tls_multi *multi)
-{
-    if (multi)
-    {
-        const struct key_state *ks = &multi->session[TM_ACTIVE].key[KS_PRIMARY];
-        return now < ks->auth_deferred_expire;
-    }
-    return false;
-}
-
 static inline int
 tls_test_payload_len(const struct tls_multi *multi)
 {