]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/ssl_locl.h
Use (D)TLS_MAX_VERSION_INTERNAL internally
[thirdparty/openssl.git] / ssl / ssl_locl.h
index c2e6474f8691bb67cf15305fd713dbc16362eee1..2d68691a0fb5a5230f79529b247fa7ba6f737bdc 100644 (file)
                            (c)[1]=(unsigned char)(((l)>> 8)&0xff), \
                            (c)[2]=(unsigned char)(((l)    )&0xff)),(c)+=3)
 
+# define TLS_MAX_VERSION_INTERNAL TLS1_3_VERSION
+# define DTLS_MAX_VERSION_INTERNAL DTLS1_2_VERSION
+
 /*
  * DTLS version numbers are strange because they're inverted. Except for
  * DTLS1_BAD_VER, which should be considered "lower" than the rest.