[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9815] ALTCP_TLS_MBEDTLS: include mbedtls/net_socket
[lwip-devel] [patch #9815] ALTCP_TLS_MBEDTLS: include mbedtls/net_sockets.h instead of deprecated mbedtls/net.h
Wed, 12 Jun 2019 03:52:41 -0400 (EDT)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Follow-up Comment #2, patch #9815 (project lwip):
If you look at mbedtls/net.h you will see that it actually includes
mbedtls/net_sockets.h. The only difference is that including net.h seems
Sincerely I don't know why they made net.h deprecated, maybe its name
conflicts in some building platforms.
Yes, lwip doesn't use sockets. However lwip actually uses some macros defined
in net.h/net_sockets.h, for example MBEDTLS_ERR_NET_CONN_RESET.
Reply to this item at:
Message sent via Savannah