Merge remote-tracking branch 'restricted/pr/608' into baremetal-proposed
* restricted/pr/608: programs: Make `make clean` clean all programs always ssl_tls: Enable Suite B with subset of ECP curves windows: Fix Release x64 configuration timing: Remove redundant include file net_sockets: Fix typo in net_would_block() Add all.sh component that exercises invalid_param checks Remove mbedtls_param_failed from programs Make it easier to define MBEDTLS_PARAM_FAILED as assert Make test suites compatible with #include <assert.h> Pass -m32 to the linker as well Update library to 2.16.2 Use 'config.pl baremetal' in all.sh Clarify ChangeLog entry for fix to #1628 Fix #2370, minor typos and spelling mistakes Add Changelog entry for clang test-ref-configs.pl fix Enable more compiler warnings in tests/Makefile Change file scoping of test helpers.function
This commit is contained in:
commit
de8869c529
136 changed files with 235 additions and 740 deletions
library
|
@ -284,7 +284,7 @@ static int net_would_block( const mbedtls_net_context *ctx )
|
|||
int err = errno;
|
||||
|
||||
/*
|
||||
* Never return 'WOULD BLOCK' on a non-blocking socket
|
||||
* Never return 'WOULD BLOCK' on a blocking socket
|
||||
*/
|
||||
if( ( fcntl( ctx->fd, F_GETFL ) & O_NONBLOCK ) != O_NONBLOCK )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue