cleanup: remove #if 0'ed function initiate_untrusted_session() from ssl.c.
PATCH 1/1 cleanup: remove #if 0'ed function initiate_untrusted_session() from ssl.c.
Has been inside the #if 0 since 'git tree epoch' (sept-2005) and was not referenced, from either code, nor dead code nor comment.
Signed-off-by Steffan Karger <[email protected]...>
--- src/openvpn/ssl.c | 16 ---------------- 1 file changed, 16 deletions(-)
src/openvpn/ssl.c +0 -16
@@ -996,22 +996,6 @@ reset_session (struct tls_multi *multi, struct tls_session *session)tls_session_init (multi, session); } -#if 0 -/* -* Transmit a TLS reset on our untrusted channel. -*/ -static void -initiate_untrusted_session (struct tls_multi *multi,struct sockaddr_in *to) -{ -struct tls_session *session = &multi->session[TM_UNTRUSTED ]; -struct key_state *ks = &session->key[KS_PRIMARY ]; - -reset_session (multi, session); - ks->remote_addr = *to; -msg (D_TLS_DEBUG_LOW ,"TLS: initiate_untrusted_session: addr=%s" ,print_sockaddr (to)); -} -#endif -/* * Used to determine in how many seconds we should be * called again.
Signature · 1 line
1.9.1
Your patch has been applied to the master branch.
commit e6b5755c381923bb4d225bda1f1747415a29341d
Author: Steffan Karger Date: Wed Jul 2 23:31:28 2014 +0200
cleanup: remove #if 0'ed function initiate_untrusted_session() from ssl.c.
Signed-off-by: Steffan Karger <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering