From e1e977f3cc52e230031f8770b0a9c977eab7db69 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 28 Sep 2009 07:27:22 +0000 Subject: Added --server-poll-timeout option : when polling possible remote servers to connect to in a round-robin fashion, spend no more than n seconds waiting for a response before trying the next server. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5010 e7ae566f-a301-0410-adde-c780ea21d3b5 --- ssl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ssl.h') diff --git a/ssl.h b/ssl.h index 910c77c..e7ccb42 100644 --- a/ssl.h +++ b/ssl.h @@ -702,6 +702,12 @@ bool tls_authenticate_key (struct tls_multi *multi, const unsigned int mda_key_i * inline functions */ +static inline bool +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) { -- cgit