aboutsummaryrefslogtreecommitdiff
path: root/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ssl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 910c77c..e7ccb42 100644
--- a/ssl.h
+++ b/ssl.h
@@ -703,6 +703,12 @@ bool tls_authenticate_key (struct tls_multi *multi, const unsigned int mda_key_i
*/
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)
{
if (multi)