diff options
Diffstat (limited to 'src/lib/libssl/dtls1.h')
-rw-r--r-- | src/lib/libssl/dtls1.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/libssl/dtls1.h b/src/lib/libssl/dtls1.h index a663cf85f2..f159d37110 100644 --- a/src/lib/libssl/dtls1.h +++ b/src/lib/libssl/dtls1.h | |||
@@ -70,7 +70,10 @@ extern "C" { | |||
70 | #define DTLS1_VERSION 0xFEFF | 70 | #define DTLS1_VERSION 0xFEFF |
71 | #define DTLS1_BAD_VER 0x0100 | 71 | #define DTLS1_BAD_VER 0x0100 |
72 | 72 | ||
73 | #if 0 | ||
74 | /* this alert description is not specified anywhere... */ | ||
73 | #define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110 | 75 | #define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110 |
76 | #endif | ||
74 | 77 | ||
75 | /* lengths of messages */ | 78 | /* lengths of messages */ |
76 | #define DTLS1_COOKIE_LENGTH 32 | 79 | #define DTLS1_COOKIE_LENGTH 32 |
@@ -84,7 +87,11 @@ extern "C" { | |||
84 | 87 | ||
85 | #define DTLS1_CCS_HEADER_LENGTH 1 | 88 | #define DTLS1_CCS_HEADER_LENGTH 1 |
86 | 89 | ||
90 | #ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE | ||
87 | #define DTLS1_AL_HEADER_LENGTH 7 | 91 | #define DTLS1_AL_HEADER_LENGTH 7 |
92 | #else | ||
93 | #define DTLS1_AL_HEADER_LENGTH 2 | ||
94 | #endif | ||
88 | 95 | ||
89 | 96 | ||
90 | typedef struct dtls1_bitmap_st | 97 | typedef struct dtls1_bitmap_st |