opensslconf.h 4.6 KB

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