diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-05-21 15:14:15 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-05-21 15:14:15 +0100 |
commit | 157a7880a444b89c2c67e4076b697435a7e60f6a (patch) | |
tree | da05ab0b30c793b28be3cf4b9d4746aa2e924e09 /src | |
parent | b4b3528b6ffe0a1bd405893052f9ce0788e8d46b (diff) |
Testsuite: GnuTLS server TLD startup errors testcase
Diffstat (limited to 'src')
-rw-r--r-- | src/src/tls-gnu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c index 45ee1017a..c7c6b2674 100644 --- a/src/src/tls-gnu.c +++ b/src/src/tls-gnu.c @@ -1826,10 +1826,8 @@ state->fd_out = fileno(smtp_out); sigalrm_seen = FALSE; if (smtp_receive_timeout > 0) alarm(smtp_receive_timeout); do - { rc = gnutls_handshake(state->session); - } while ((rc == GNUTLS_E_AGAIN) || - (rc == GNUTLS_E_INTERRUPTED && !sigalrm_seen)); +while (rc == GNUTLS_E_AGAIN || rc == GNUTLS_E_INTERRUPTED && !sigalrm_seen); alarm(0); if (rc != GNUTLS_E_SUCCESS) |