summaryrefslogtreecommitdiffstats
path: root/ssl/dtls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r--ssl/dtls1.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssl/dtls1.h b/ssl/dtls1.h
index c6edbe39f9..5cb79f1dac 100644
--- a/ssl/dtls1.h
+++ b/ssl/dtls1.h
@@ -84,8 +84,11 @@ extern "C" {
#endif
#define DTLS1_VERSION 0xFEFF
-#define DTLS1_BAD_VER 0x0100
#define DTLS1_2_VERSION 0xFEFD
+#define DTLS_MAX_VERSION DTLS1_2_VERSION
+
+#define DTLS1_BAD_VER 0x0100
+
/* Special value for method supporting multiple versions */
#define DTLS_ANY_VERSION 0x1FFFF
@@ -287,4 +290,3 @@ typedef struct dtls1_record_data_st
}
#endif
#endif
-