diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-22 15:30:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-22 15:30:14 +0000 |
commit | 861a7e5c9f40875e61a377780d735896762b62e6 (patch) | |
tree | 4e0ef5d3a8d1b29931c4deeb0286ce431ce9228b | |
parent | 8038e7e44c6060398f0793e3e16db0ad1ee95b9d (diff) |
PR: 2543
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve
Correctly handle errors in DTLSv1_handle_timeout()
-rw-r--r-- | ssl/d1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 9fe6b2b8f7..48e8b6ffbb 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -398,7 +398,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++; |