Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit e0a59ca

Browse files
committed
Arduino 3.x.x. comes with mbedTLS v3.x.x which removed the deprecated net.h
1 parent 79dafc5 commit e0a59ca

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/AsyncTCP_TLS_Context.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22

33
#if ASYNC_TCP_SSL_ENABLED
44

5+
#include "mbedtls/version.h"
56
#include "mbedtls/platform.h"
7+
#if MBEDTLS_VERSION_NUMBER < 0x03000000
68
#include "mbedtls/net.h"
9+
#else
10+
#include "mbedtls/net_sockets.h"
11+
#endif
712
#include "mbedtls/debug.h"
813
#include "mbedtls/ssl.h"
914
#include "mbedtls/entropy.h"

0 commit comments

Comments
 (0)