comparison OrthancFramework/Resources/Patches/openssl-1.1.1-conf.h.in @ 4635:0524d6e93672

upgrade to openssl 1.1.1k
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Apr 2021 11:56:14 +0200
parents d25f4c0fa160
children
comparison
equal deleted inserted replaced
4634:9a9118406484 4635:0524d6e93672
1 /* 1 /*
2 * {- join("\n * ", @autowarntext) -} 2 * {- join("\n * ", @autowarntext) -}
3 * 3 *
4 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. 4 * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
5 * 5 *
6 * Licensed under the OpenSSL license (the "License"). You may not use 6 * Licensed under the OpenSSL license (the "License"). You may not use
7 * this file except in compliance with the License. You can obtain a copy 7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at 8 * in the file LICENSE in the source distribution or at
9 * https://www.openssl.org/source/license.html 9 * https://www.openssl.org/source/license.html
17 17
18 #ifdef OPENSSL_ALGORITHM_DEFINES 18 #ifdef OPENSSL_ALGORITHM_DEFINES
19 # error OPENSSL_ALGORITHM_DEFINES no longer supported 19 # error OPENSSL_ALGORITHM_DEFINES no longer supported
20 #endif 20 #endif
21 21
22
23 /* 22 /*
24 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers 23 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
25 * don't like that. This will hopefully silence them. 24 * don't like that. This will hopefully silence them.
26 */ 25 */
27 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; 26 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
34 */ 33 */
35 #ifndef DECLARE_DEPRECATED 34 #ifndef DECLARE_DEPRECATED
36 # define DECLARE_DEPRECATED(f) f; 35 # define DECLARE_DEPRECATED(f) f;
37 # ifdef __GNUC__ 36 # ifdef __GNUC__
38 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) 37 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
38 # undef DECLARE_DEPRECATED
39 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
40 # endif
41 # elif defined(__SUNPRO_C)
42 # if (__SUNPRO_C >= 0x5130)
39 # undef DECLARE_DEPRECATED 43 # undef DECLARE_DEPRECATED
40 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); 44 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
41 # endif 45 # endif
42 # endif 46 # endif
43 #endif 47 #endif