Fix the DTLS1_COOKIE_LENGTH value
[openssl.git] / include / openssl / dtls1.h
index bfc2d6e38f2857bc1fccd120290328e3e0095839..a68cffd1d4eb03121fa5d84ddeef95ff8dc779be 100644 (file)
@@ -36,11 +36,8 @@ extern "C" {
 # define DTLS_ANY_VERSION                0x1FFFF
 
 /* lengths of messages */
 # define DTLS_ANY_VERSION                0x1FFFF
 
 /* lengths of messages */
-/*
- * Actually the max cookie length in DTLS is 255. But we can't change this now
- * due to compatibility concerns.
- */
-# define DTLS1_COOKIE_LENGTH                     256
+
+# define DTLS1_COOKIE_LENGTH                     255
 
 # define DTLS1_RT_HEADER_LENGTH                  13
 
 
 # define DTLS1_RT_HEADER_LENGTH                  13