1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-11 02:02:32 +03:00
Files
mbedtls/library/error.c
Manuel Pégourié-Gonnard 9bd0afdb22 Add guards for closed socket in net.c
This is particularly problematic when calling FD_SET( -1, ... ), but let's
check it in all functions.

This was introduced with the new API and the fact the net_free() now sets the
internal fd to -1 in order to mark it as closed: now using this information.
2015-07-01 19:03:27 +02:00

35 KiB