X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fdtls1.h;h=f95c91c7844dc2c6f6c4cdcf49fddbabc870e286;hp=c5b1b9cab57863658ba8170fbcfb8f9da64abbfd;hb=81fe8dcfe1735962a6591f25b43d57f7c80de7bf;hpb=01c76c6606c51013222626875218e0f1ed5bcc7e diff --git a/ssl/dtls1.h b/ssl/dtls1.h index c5b1b9cab5..f95c91c784 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -67,9 +67,7 @@ extern "C" { #endif -#define DTLS1_VERSION 0x0100 -#define DTLS1_VERSION_MAJOR 0x01 -#define DTLS1_VERSION_MINOR 0x00 +#define DTLS1_VERSION 0xFEFF #if 0 #define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110 @@ -85,7 +83,7 @@ extern "C" { #define DTLS1_HM_BAD_FRAGMENT -2 #define DTLS1_HM_FRAGMENT_RETRY -3 -#define DTLS1_CCS_HEADER_LENGTH 3 +#define DTLS1_CCS_HEADER_LENGTH 1 #define DTLS1_AL_HEADER_LENGTH 7