lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9815] ALTCP_TLS_MBEDTLS: include mbedtls/net_socket


From: Giuseppe Modugno
Subject: [lwip-devel] [patch #9815] ALTCP_TLS_MBEDTLS: include mbedtls/net_sockets.h instead of deprecated mbedtls/net.h
Date: Wed, 12 Jun 2019 03:52:41 -0400 (EDT)
User-agent: 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
deprecated.

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:

  <https://savannah.nongnu.org/patch/?9815>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]