mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[SCHANNEL]
- Set received length to zero when the receive result is MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY instead of pretending we got data CORE-11285 #resolve svn path=/trunk/; revision=71373
This commit is contained in:
parent
88af808d05
commit
be92945d81
1 changed files with 1 additions and 0 deletions
|
@ -682,6 +682,7 @@ SECURITY_STATUS schan_imp_recv(schan_imp_session session, void *buffer,
|
|||
}
|
||||
else if (ret == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY)
|
||||
{
|
||||
*length = 0;
|
||||
TRACE("MBEDTLS schan_imp_recv: ret == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY -> SEC_E_OK\n");
|
||||
return SEC_E_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue