opensslconf.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by Makefile from include/openssl/opensslconf.h.in
  4. *
  5. * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
  6. *
  7. * Licensed under the OpenSSL license (the "License"). You may not use
  8. * this file except in compliance with the License. You can obtain a copy
  9. * in the file LICENSE in the source distribution or at
  10. * https://www.openssl.org/source/license.html
  11. */
  12. #include <openssl/opensslv.h>
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #ifdef OPENSSL_ALGORITHM_DEFINES
  17. # error OPENSSL_ALGORITHM_DEFINES no longer supported
  18. #endif
  19. /*
  20. * OpenSSL was configured with the following options:
  21. */
  22. #ifndef OPENSSL_NO_MD2
  23. # define OPENSSL_NO_MD2
  24. #endif
  25. #ifndef OPENSSL_NO_RC5
  26. # define OPENSSL_NO_RC5
  27. #endif
  28. #ifndef OPENSSL_THREADS
  29. # define OPENSSL_THREADS
  30. #endif
  31. #ifndef OPENSSL_RAND_SEED_OS
  32. # define OPENSSL_RAND_SEED_OS
  33. #endif
  34. #ifndef OPENSSL_NO_AFALGENG
  35. # define OPENSSL_NO_AFALGENG
  36. #endif
  37. #ifndef OPENSSL_NO_ASAN
  38. # define OPENSSL_NO_ASAN
  39. #endif
  40. #ifndef OPENSSL_NO_CRYPTO_MDEBUG
  41. # define OPENSSL_NO_CRYPTO_MDEBUG
  42. #endif
  43. #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  44. # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  45. #endif
  46. #ifndef OPENSSL_NO_DEVCRYPTOENG
  47. # define OPENSSL_NO_DEVCRYPTOENG
  48. #endif
  49. #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
  50. # define OPENSSL_NO_EC_NISTP_64_GCC_128
  51. #endif
  52. #ifndef OPENSSL_NO_EGD
  53. # define OPENSSL_NO_EGD
  54. #endif
  55. #ifndef OPENSSL_NO_EXTERNAL_TESTS
  56. # define OPENSSL_NO_EXTERNAL_TESTS
  57. #endif
  58. #ifndef OPENSSL_NO_FUZZ_AFL
  59. # define OPENSSL_NO_FUZZ_AFL
  60. #endif
  61. #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
  62. # define OPENSSL_NO_FUZZ_LIBFUZZER
  63. #endif
  64. #ifndef OPENSSL_NO_HEARTBEATS
  65. # define OPENSSL_NO_HEARTBEATS
  66. #endif
  67. #ifndef OPENSSL_NO_MSAN
  68. # define OPENSSL_NO_MSAN
  69. #endif
  70. #ifndef OPENSSL_NO_SCTP
  71. # define OPENSSL_NO_SCTP
  72. #endif
  73. #ifndef OPENSSL_NO_SSL_TRACE
  74. # define OPENSSL_NO_SSL_TRACE
  75. #endif
  76. #ifndef OPENSSL_NO_SSL3
  77. # define OPENSSL_NO_SSL3
  78. #endif
  79. #ifndef OPENSSL_NO_SSL3_METHOD
  80. # define OPENSSL_NO_SSL3_METHOD
  81. #endif
  82. #ifndef OPENSSL_NO_UBSAN
  83. # define OPENSSL_NO_UBSAN
  84. #endif
  85. #ifndef OPENSSL_NO_UNIT_TEST
  86. # define OPENSSL_NO_UNIT_TEST
  87. #endif
  88. #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
  89. # define OPENSSL_NO_WEAK_SSL_CIPHERS
  90. #endif
  91. #ifndef OPENSSL_NO_STATIC_ENGINE
  92. # define OPENSSL_NO_STATIC_ENGINE
  93. #endif
  94. /*
  95. * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
  96. * don't like that. This will hopefully silence them.
  97. */
  98. #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
  99. /*
  100. * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
  101. * declarations of functions deprecated in or before <version>. Otherwise, they
  102. * still won't see them if the library has been built to disable deprecated
  103. * functions.
  104. */
  105. #ifndef DECLARE_DEPRECATED
  106. # define DECLARE_DEPRECATED(f) f;
  107. # ifdef __GNUC__
  108. # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
  109. # undef DECLARE_DEPRECATED
  110. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  111. # endif
  112. # elif defined(__SUNPRO_C)
  113. # if (__SUNPRO_C >= 0x5130)
  114. # undef DECLARE_DEPRECATED
  115. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  116. # endif
  117. # endif
  118. #endif
  119. #ifndef OPENSSL_FILE
  120. # ifdef OPENSSL_NO_FILENAMES
  121. # define OPENSSL_FILE ""
  122. # define OPENSSL_LINE 0
  123. # else
  124. # define OPENSSL_FILE __FILE__
  125. # define OPENSSL_LINE __LINE__
  126. # endif
  127. #endif
  128. #ifndef OPENSSL_MIN_API
  129. # define OPENSSL_MIN_API 0
  130. #endif
  131. #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
  132. # undef OPENSSL_API_COMPAT
  133. # define OPENSSL_API_COMPAT OPENSSL_MIN_API
  134. #endif
  135. /*
  136. * Do not deprecate things to be deprecated in version 1.2.0 before the
  137. * OpenSSL version number matches.
  138. */
  139. #if OPENSSL_VERSION_NUMBER < 0x10200000L
  140. # define DEPRECATEDIN_1_2_0(f) f;
  141. #elif OPENSSL_API_COMPAT < 0x10200000L
  142. # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
  143. #else
  144. # define DEPRECATEDIN_1_2_0(f)
  145. #endif
  146. #if OPENSSL_API_COMPAT < 0x10100000L
  147. # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
  148. #else
  149. # define DEPRECATEDIN_1_1_0(f)
  150. #endif
  151. #if OPENSSL_API_COMPAT < 0x10000000L
  152. # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
  153. #else
  154. # define DEPRECATEDIN_1_0_0(f)
  155. #endif
  156. #if OPENSSL_API_COMPAT < 0x00908000L
  157. # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
  158. #else
  159. # define DEPRECATEDIN_0_9_8(f)
  160. #endif
  161. /* Generate 80386 code? */
  162. #undef I386_ONLY
  163. #undef OPENSSL_UNISTD
  164. #define OPENSSL_UNISTD <unistd.h>
  165. #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
  166. /*
  167. * The following are cipher-specific, but are part of the public API.
  168. */
  169. #if !defined(OPENSSL_SYS_UEFI)
  170. # undef BN_LLONG
  171. /* Only one for the following should be defined */
  172. # define SIXTY_FOUR_BIT_LONG
  173. # undef SIXTY_FOUR_BIT
  174. # undef THIRTY_TWO_BIT
  175. #endif
  176. #define RC4_INT unsigned char
  177. #ifdef __cplusplus
  178. }
  179. #endif