PR: 1922
[openssl.git] / ssl / dtls1.h
index 2066638f9425aab45f27d7857da573fd36dc16f6..177e55cd9f143fc9541f7b9da2bfa1656a04d81f 100644 (file)
@@ -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];