Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
8fab6492
Commit
8fab6492
authored
Aug 04, 2018
by
Ryan Tandy
Committed by
Quanah Gibson-Mount
Sep 24, 2018
Browse files
Revert "ITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN"
This reverts commit
7b5181da
.
parent
dfc67067
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/tls_g.c
View file @
8fab6492
...
...
@@ -358,9 +358,7 @@ tlsg_session_accept( tls_session *session )
tlsg_session
*
s
=
(
tlsg_session
*
)
session
;
int
rc
;
for
(
rc
=
gnutls_handshake
(
s
->
session
);
rc
==
GNUTLS_E_INTERRUPTED
||
rc
==
GNUTLS_E_AGAIN
;
rc
=
gnutls_handshake
(
s
->
session
)
);
rc
=
gnutls_handshake
(
s
->
session
);
if
(
rc
==
0
&&
s
->
ctx
->
reqcert
!=
LDAP_OPT_X_TLS_NEVER
)
{
const
gnutls_datum_t
*
peer_cert_list
;
unsigned
int
list_size
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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