Remove reference to ssl_client struct

This commit is contained in:
Alex Villacís Lasso
2021-10-11 18:29:27 -05:00
parent 10eac704da
commit 6e5567c6f5

View File

@@ -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