Author: tfaber
Date: Sun May 22 10:56:22 2016
New Revision: 71373
URL:
http://svn.reactos.org/svn/reactos?rev=71373&view=rev
Log:
[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
Modified:
trunk/reactos/dll/win32/schannel/schannel_mbedtls.c
Modified: trunk/reactos/dll/win32/schannel/schannel_mbedtls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/schanne…
==============================================================================
--- trunk/reactos/dll/win32/schannel/schannel_mbedtls.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/schannel/schannel_mbedtls.c [iso-8859-1] Sun May 22 10:56:22
2016
@@ -682,6 +682,7 @@
}
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;
}