projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Half of the commit for 0.9.8 as the bitmap handling has changed.
[oweals/openssl.git]
/
ssl
/
dtls1.h
diff --git
a/ssl/dtls1.h
b/ssl/dtls1.h
index f95c91c7844dc2c6f6c4cdcf49fddbabc870e286..1438b2513117b5de93a0abaa8573e12a411a6fcd 100644
(file)
--- a/
ssl/dtls1.h
+++ b/
ssl/dtls1.h
@@
-68,8
+68,10
@@
extern "C" {
#endif
#define DTLS1_VERSION 0xFEFF
#endif
#define DTLS1_VERSION 0xFEFF
+#define DTLS1_BAD_VER 0x0100
#if 0
#if 0
+/* this alert description is not specified anywhere... */
#define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110
#endif
#define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110
#endif
@@
-85,7
+87,11
@@
extern "C" {
#define DTLS1_CCS_HEADER_LENGTH 1
#define DTLS1_CCS_HEADER_LENGTH 1
+#ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE
#define DTLS1_AL_HEADER_LENGTH 7
#define DTLS1_AL_HEADER_LENGTH 7
+#else
+#define DTLS1_AL_HEADER_LENGTH 2
+#endif
typedef struct dtls1_bitmap_st
typedef struct dtls1_bitmap_st