diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-05-15 22:58:13 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-05-15 22:58:13 +0000 |
commit | d6584eba8cd56b317f57e9758191c07cf8038b0e (patch) | |
tree | 256feeaaf51b13614f506d7cb436cb1855a211e1 /ssl/dtls1.h | |
parent | a379c433a38c7c06e0f8054afec8c7c77d3da2a1 (diff) |
PR: 1922
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Approved by: steve@openssl.org
DTLS Timer bug fix.
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r-- | ssl/dtls1.h | 8 |
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]; |