libfreerdp-crypto: don't report SSL_ERROR_SYSCALL with errno value 0 as error

This commit is contained in:
Marc-André Moreau 2013-11-20 15:21:29 -05:00
parent c1fa455c30
commit 690a6b624d

View File

@ -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;
}