secur32: Return success on graceful close of SSL connection.

This commit is contained in:
Aric Stewart 2014-02-21 07:37:56 +09:00 committed by Alexandre Julliard
parent 59ed2131ac
commit 3218cc077e
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ SECURITY_STATUS schan_imp_recv(schan_imp_session session, void *buffer,
TRACE("(%p/%p, %p, %p/%lu)\n", s, s->context, buffer, length, *length);
status = SSLRead(s->context, buffer, *length, length);
if (status == noErr)
if (status == noErr || status == errSSLClosedGraceful)
TRACE("Read %lu bytes\n", *length);
else if (status == errSSLWouldBlock)
{