Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve

Correctly handle errors in DTLSv1_handle_timeout()
This commit is contained in:
Dr. Stephen Henson 2011-06-22 15:29:36 +00:00
parent 22152d6885
commit cc0931e36b

View file

@ -438,7 +438,7 @@ int dtls1_handle_timeout(SSL *s)
{
/* fail the connection, enough alerts have been sent */
SSLerr(SSL_F_DTLS1_HANDLE_TIMEOUT,SSL_R_READ_TIMEOUT_EXPIRED);
return 0;
return -1;
}
state->timeout.read_timeouts++;