Module: wine Branch: master Commit: aeb161f13f5119d5647a5cb8775cf13719444e7e URL: http://source.winehq.org/git/wine.git/?a=commit;h=aeb161f13f5119d5647a5cb877...
Author: Hans Leidekker hans@codeweavers.com Date: Thu Nov 19 09:30:33 2009 +0100
secur32: Handle EOF from gnutls_record_recv.
---
dlls/secur32/schannel.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c index af94024..27cb1b7 100644 --- a/dlls/secur32/schannel.c +++ b/dlls/secur32/schannel.c @@ -1203,6 +1203,9 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle return SEC_E_INTERNAL_ERROR; } } + else if (!ret) + break; + received += ret; }