From d6584eba8cd56b317f57e9758191c07cf8038b0e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 15 May 2009 22:58:13 +0000 Subject: PR: 1922 Submitted by: Robin Seggelmann Approved by: steve@openssl.org DTLS Timer bug fix. --- ssl/dtls1.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ssl/dtls1.h') diff --git a/ssl/dtls1.h b/ssl/dtls1.h index 2066638f94..177e55cd9f 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -210,7 +210,13 @@ typedef struct dtls1_state_st struct hm_header_st r_msg_hdr; struct dtls1_timeout_st timeout; - + + /* Indicates when the last handshake msg sent will timeout */ + struct timeval next_timeout; + + /* Timeout duration */ + unsigned short timeout_duration; + /* storage for Alert/Handshake protocol data received but not * yet processed by ssl3_read_bytes: */ unsigned char alert_fragment[DTLS1_AL_HEADER_LENGTH]; -- cgit v1.2.3