diff options
author | Matt Caswell <matt@openssl.org> | 2020-06-17 11:34:49 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-06-19 11:25:35 +0100 |
commit | cfbe41ea9138ba5f4fb6f859a72034ba4ddc693f (patch) | |
tree | 025092b89d745b7e4eccaf71907c946c3fa0c486 /include | |
parent | 989a85774b63a91ca8d3be558ec7560fdf91fa42 (diff) |
Fix the DTLS1_COOKIE_LENGTH value
The DTLS1_COOKIE_LENGTH value was incorrect in the header files. We
couldn't change it before due to ABI concerns. However 3.0 is not ABI
compatible so we can now fix it.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12179)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/dtls1.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/openssl/dtls1.h b/include/openssl/dtls1.h index bfc2d6e38f..a68cffd1d4 100644 --- a/include/openssl/dtls1.h +++ b/include/openssl/dtls1.h @@ -36,11 +36,8 @@ extern "C" { # 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 |