projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22152d6
)
PR: 2543
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Jun 2011 15:29:36 +0000
(15:29 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Jun 2011 15:29:36 +0000
(15:29 +0000)
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve
Correctly handle errors in DTLSv1_handle_timeout()
ssl/d1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/d1_lib.c
b/ssl/d1_lib.c
index 15dea6ed4af8fa5df10879cd5a2c30f4150b0d31..736216f6aace19f82e3a4de5f705d0bd70644cca 100644
(file)
--- a/
ssl/d1_lib.c
+++ b/
ssl/d1_lib.c
@@
-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++;