summaryrefslogtreecommitdiff
path: root/ssl/dtls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r--ssl/dtls1.h8
1 files changed, 7 insertions, 1 deletions
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];