mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
schannel_recv: return the correct code
Bug: http://curl.haxx.se/bug/view.cgi?id=1462 Reported-by: Tae Hyoung Ahn
This commit is contained in:
parent
680d5fd041
commit
145c263a4b
@ -1013,6 +1013,8 @@ schannel_recv(struct connectdata *conn, int sockindex,
|
||||
infof(data, "schannel: decrypted data buffer: offset %zu length %zu\n",
|
||||
connssl->decdata_offset, connssl->decdata_length);
|
||||
}
|
||||
else
|
||||
ret = 0;
|
||||
|
||||
/* check if the server closed the connection */
|
||||
if(ret <= 0 && ( /* special check for Windows 2000 Professional */
|
||||
|
Loading…
Reference in New Issue
Block a user