Commit 8fab6492 authored by Ryan Tandy's avatar Ryan Tandy Committed by Quanah Gibson-Mount
Browse files

Revert "ITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN"

This reverts commit 7b5181da.
parent dfc67067
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment