Fix for using uninitialised value in decision
Detail: It isn't possible to read FIONBIO using socketioctl, the Internet module returns -1 before writing the output variable, leaving it uninitialised. Track the FIONBIO state using an extra member in the mbedtls_net_context structure, so it can be read when needed. Admin: Submission for TCP/IP bounty. Version 2.12. Tagged as 'mbedTLS-2_12'
Showing with 16 additions and 16 deletions