X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fdtls1.h;h=a68cffd1d4eb03121fa5d84ddeef95ff8dc779be;hp=bfc2d6e38f2857bc1fccd120290328e3e0095839;hb=cfbe41ea9138ba5f4fb6f859a72034ba4ddc693f;hpb=936c2b9e933eacae80d3489e5f7316589f3e9a07 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