X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fopenssl%2Ftls1.h;h=166f15ad5cdeecdc0af23b4690af2578a8fb8c81;hb=c3a261f8d31c1d04db01de36eccfe001b4ca0368;hp=434dff1500eee068fe868ed5efabfcd77e99db21;hpb=fcd2d5a6121ad3e5e65edc714ad99fc36f609f81;p=oweals%2Fopenssl.git diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index 434dff1500..166f15ad5c 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -3,7 +3,7 @@ * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright 2005 Nokia. All rights reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html @@ -28,7 +28,9 @@ extern "C" { # define TLS1_1_VERSION 0x0302 # define TLS1_2_VERSION 0x0303 # define TLS1_3_VERSION 0x0304 -# define TLS_MAX_VERSION TLS1_3_VERSION +# if !OPENSSL_API_3 +# define TLS_MAX_VERSION TLS1_3_VERSION +# endif /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000