From 6e5567c6f575312e70ed8569e9cc210e2ffcfe13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Villac=C3=ADs=20Lasso?= Date: Mon, 11 Oct 2021 18:29:27 -0500 Subject: [PATCH] Remove reference to ssl_client struct --- src/AsyncTCP_TLS_Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncTCP_TLS_Context.cpp b/src/AsyncTCP_TLS_Context.cpp index ffa37db..751bf14 100644 --- a/src/AsyncTCP_TLS_Context.cpp +++ b/src/AsyncTCP_TLS_Context.cpp @@ -196,7 +196,7 @@ int AsyncTCP_TLS_Context::runSSLHandshake(void) } // Handshake is taking too long - if ((millis()-handshake_start_time) > ssl_client->handshake_timeout) + if ((millis()-handshake_start_time) > handshake_timeout) return -1; // Either MBEDTLS_ERR_SSL_WANT_READ or MBEDTLS_ERR_SSL_WANT_WRITE