OVMS3-idf/components/mbedtls/port
Michael Kellner a523aa3ef5 mbedtls port: Fix detection of EWOULDBLOCK/EAGAIN with non-blocking sockets
Since mbedtls_net_errno is reset by fcntl, it is reset after calling
net_would_block, so the call to mbedtls_net_errno in mbedtls_net_recv
and mbedtls_net_send will always get back 0. This change propagates
the value returned by mbedtls_net_errno up through net_would_block,
to allow the correct error value to be used and avoid a redundant
call to mbedtls_net_errno.

Merges PR #511 https://github.com/espressif/esp-idf/pull/511
2017-04-21 10:46:34 +10:00
..
include mbedtls: Enable filesystem support 2017-03-08 09:55:31 +11:00
esp_bignum.c mbedtls: Use two MPI multiplications when multiply operands too large 2017-01-31 14:36:26 +11:00
esp_hardware.c mbedtls: Use hardware accelerated AES, SHA, bignum 2016-09-08 17:41:43 +08:00
esp_sha1.c mbedTLS SHA acceleration: Allow concurrent digest calculation, works with TLS 2016-11-22 20:42:38 +11:00
esp_sha256.c mbedTLS SHA acceleration: Allow concurrent digest calculation, works with TLS 2016-11-22 20:42:38 +11:00
esp_sha512.c mbedTLS SHA: Fix cloning of SHA-384 digests 2016-11-25 19:26:30 +11:00
mbedtls_debug.c mbedTLS: Add generic support for mbedTLS debug output via the esp_log functionality 2017-03-07 10:18:47 +11:00
net.c mbedtls port: Fix detection of EWOULDBLOCK/EAGAIN with non-blocking sockets 2017-04-21 10:46:34 +10:00