Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
929598fd
Commit
929598fd
authored
Oct 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Properly handle GNUTLS_E_AGAIN in (GnuTLS) schan_imp_recv().
parent
65aed972
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+13
-1
No files found.
dlls/secur32/schannel_gnutls.c
View file @
929598fd
...
...
@@ -371,11 +371,23 @@ SECURITY_STATUS schan_imp_recv(schan_imp_session session, void *buffer,
SIZE_T
*
length
)
{
gnutls_session_t
s
=
(
gnutls_session_t
)
session
;
ssize_t
ret
=
pgnutls_record_recv
(
s
,
buffer
,
*
length
);
ssize_t
ret
;
again:
ret
=
pgnutls_record_recv
(
s
,
buffer
,
*
length
);
if
(
ret
>=
0
)
*
length
=
ret
;
else
if
(
ret
==
GNUTLS_E_AGAIN
)
{
struct
schan_transport
*
t
=
(
struct
schan_transport
*
)
pgnutls_transport_get_ptr
(
s
);
SIZE_T
count
=
0
;
if
(
schan_get_buffer
(
t
,
&
t
->
in
,
&
count
))
goto
again
;
return
SEC_I_CONTINUE_NEEDED
;
}
else
{
pgnutls_perror
(
ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment