opensslconf.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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_SYS_WIN32
  23. # define OPENSSL_SYS_WIN32 1
  24. #endif
  25. #ifndef OPENSSL_NO_MD2
  26. # define OPENSSL_NO_MD2
  27. #endif
  28. #ifndef OPENSSL_NO_RC5
  29. # define OPENSSL_NO_RC5
  30. #endif
  31. #ifndef OPENSSL_THREADS
  32. # define OPENSSL_THREADS
  33. #endif
  34. #ifndef OPENSSL_RAND_SEED_OS
  35. # define OPENSSL_RAND_SEED_OS
  36. #endif
  37. #ifndef OPENSSL_NO_AFALGENG
  38. # define OPENSSL_NO_AFALGENG
  39. #endif
  40. #ifndef OPENSSL_NO_ASAN
  41. # define OPENSSL_NO_ASAN
  42. #endif
  43. #ifndef OPENSSL_NO_CRYPTO_MDEBUG
  44. # define OPENSSL_NO_CRYPTO_MDEBUG
  45. #endif
  46. #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  47. # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  48. #endif
  49. #ifndef OPENSSL_NO_DEVCRYPTOENG
  50. # define OPENSSL_NO_DEVCRYPTOENG
  51. #endif
  52. #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
  53. # define OPENSSL_NO_EC_NISTP_64_GCC_128
  54. #endif
  55. #ifndef OPENSSL_NO_EGD
  56. # define OPENSSL_NO_EGD
  57. #endif
  58. #ifndef OPENSSL_NO_EXTERNAL_TESTS
  59. # define OPENSSL_NO_EXTERNAL_TESTS
  60. #endif
  61. #ifndef OPENSSL_NO_FUZZ_AFL
  62. # define OPENSSL_NO_FUZZ_AFL
  63. #endif
  64. #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
  65. # define OPENSSL_NO_FUZZ_LIBFUZZER
  66. #endif
  67. #ifndef OPENSSL_NO_HEARTBEATS
  68. # define OPENSSL_NO_HEARTBEATS
  69. #endif
  70. #ifndef OPENSSL_NO_MSAN
  71. # define OPENSSL_NO_MSAN
  72. #endif
  73. #ifndef OPENSSL_NO_SCTP
  74. # define OPENSSL_NO_SCTP
  75. #endif
  76. #ifndef OPENSSL_NO_SSL_TRACE
  77. # define OPENSSL_NO_SSL_TRACE
  78. #endif
  79. #ifndef OPENSSL_NO_SSL3
  80. # define OPENSSL_NO_SSL3
  81. #endif
  82. #ifndef OPENSSL_NO_SSL3_METHOD
  83. # define OPENSSL_NO_SSL3_METHOD
  84. #endif
  85. #ifndef OPENSSL_NO_UBSAN
  86. # define OPENSSL_NO_UBSAN
  87. #endif
  88. #ifndef OPENSSL_NO_UNIT_TEST
  89. # define OPENSSL_NO_UNIT_TEST
  90. #endif
  91. #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
  92. # define OPENSSL_NO_WEAK_SSL_CIPHERS
  93. #endif
  94. #ifndef OPENSSL_NO_STATIC_ENGINE
  95. # define OPENSSL_NO_STATIC_ENGINE
  96. #endif
  97. /*
  98. * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
  99. * don't like that. This will hopefully silence them.
  100. */
  101. #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
  102. /*
  103. * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
  104. * declarations of functions deprecated in or before <version>. Otherwise, they
  105. * still won't see them if the library has been built to disable deprecated
  106. * functions.
  107. */
  108. #ifndef DECLARE_DEPRECATED
  109. # define DECLARE_DEPRECATED(f) f;
  110. # ifdef __GNUC__
  111. # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
  112. # undef DECLARE_DEPRECATED
  113. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  114. # endif
  115. # elif defined(__SUNPRO_C)
  116. # if (__SUNPRO_C >= 0x5130)
  117. # undef DECLARE_DEPRECATED
  118. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  119. # endif
  120. # endif
  121. #endif
  122. #ifndef OPENSSL_FILE
  123. # ifdef OPENSSL_NO_FILENAMES
  124. # define OPENSSL_FILE ""
  125. # define OPENSSL_LINE 0
  126. # else
  127. # define OPENSSL_FILE __FILE__
  128. # define OPENSSL_LINE __LINE__
  129. # endif
  130. #endif
  131. #ifndef OPENSSL_MIN_API
  132. # define OPENSSL_MIN_API 0
  133. #endif
  134. #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
  135. # undef OPENSSL_API_COMPAT
  136. # define OPENSSL_API_COMPAT OPENSSL_MIN_API
  137. #endif
  138. /*
  139. * Do not deprecate things to be deprecated in version 1.2.0 before the
  140. * OpenSSL version number matches.
  141. */
  142. #if OPENSSL_VERSION_NUMBER < 0x10200000L
  143. # define DEPRECATEDIN_1_2_0(f) f;
  144. #elif OPENSSL_API_COMPAT < 0x10200000L
  145. # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
  146. #else
  147. # define DEPRECATEDIN_1_2_0(f)
  148. #endif
  149. #if OPENSSL_API_COMPAT < 0x10100000L
  150. # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
  151. #else
  152. # define DEPRECATEDIN_1_1_0(f)
  153. #endif
  154. #if OPENSSL_API_COMPAT < 0x10000000L
  155. # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
  156. #else
  157. # define DEPRECATEDIN_1_0_0(f)
  158. #endif
  159. #if OPENSSL_API_COMPAT < 0x00908000L
  160. # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
  161. #else
  162. # define DEPRECATEDIN_0_9_8(f)
  163. #endif
  164. /* Generate 80386 code? */
  165. #undef I386_ONLY
  166. #undef OPENSSL_UNISTD
  167. #define OPENSSL_UNISTD <unistd.h>
  168. #define OPENSSL_EXPORT_VAR_AS_FUNCTION
  169. /*
  170. * The following are cipher-specific, but are part of the public API.
  171. */
  172. #if !defined(OPENSSL_SYS_UEFI)
  173. # define BN_LLONG
  174. /* Only one for the following should be defined */
  175. # undef SIXTY_FOUR_BIT_LONG
  176. # undef SIXTY_FOUR_BIT
  177. # define THIRTY_TWO_BIT
  178. #endif
  179. #define RC4_INT unsigned int
  180. #ifdef __cplusplus
  181. }
  182. #endif