mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
Revert "ITS#8650 retry gnutls_handshake after GNUTLS_E_AGAIN"
This reverts commit 7b5181da8c.
This commit is contained in:
parent
78229b3a5b
commit
4c1ab16ade
1 changed files with 1 additions and 3 deletions
|
|
@ -390,9 +390,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue