Provisional DTLS 1.2 support.
[oweals/openssl.git] / ssl / dtls1.h
index b5042ea5fd22fc703867e022233de5e4f2c5bf39..715749ae2719df401d7c33071aa5fd0304b2edad 100644 (file)
@@ -85,6 +85,7 @@ extern "C" {
 
 #define DTLS1_VERSION                  0xFEFF
 #define DTLS1_BAD_VER                  0x0100
+#define DTLS1_2_VERSION                        0xFEFD
 
 #if 0
 /* this alert description is not specified anywhere... */
@@ -236,7 +237,7 @@ typedef struct dtls1_state_st
 
        struct dtls1_timeout_st timeout;
 
-       /* Indicates when the last handshake msg sent will timeout */
+       /* Indicates when the last handshake msg or heartbeat sent will timeout */
        struct timeval next_timeout;
 
        /* Timeout duration */