mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 09:54:26 +08:00
libfreerdp-crypto: don't report SSL_ERROR_SYSCALL with errno value 0 as error
This commit is contained in:
parent
c1fa455c30
commit
690a6b624d
@ -400,7 +400,7 @@ int tls_read(rdpTls* tls, BYTE* data, int length)
|
||||
break;
|
||||
|
||||
case SSL_ERROR_SYSCALL:
|
||||
if (errno == EAGAIN)
|
||||
if ((errno == EAGAIN) || (errno == 0))
|
||||
{
|
||||
status = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user