mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 23:21:07 +00:00
parent
35a7e4675f
commit
1529ede823
|
@ -42,6 +42,7 @@ Bugfix
|
|||
* Fix multiple X.509 functions previously returning ASN.1 low-level error
|
||||
codes to always wrap these codes into X.509 high level error codes before
|
||||
returning. Fixes #2431.
|
||||
* Fix typo in net_would_block(). Fixes #528 reported by github-monoculture.
|
||||
|
||||
Changes
|
||||
* Return from various debugging routines immediately if the
|
||||
|
|
|
@ -274,7 +274,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…
Reference in a new issue