projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the DTLS1_COOKIE_LENGTH value
[openssl.git]
/
include
/
openssl
/
dtls1.h
diff --git
a/include/openssl/dtls1.h
b/include/openssl/dtls1.h
index bfc2d6e38f2857bc1fccd120290328e3e0095839..a68cffd1d4eb03121fa5d84ddeef95ff8dc779be 100644
(file)
--- a/
include/openssl/dtls1.h
+++ b/
include/openssl/dtls1.h
@@
-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