opensslconf.h 4.3 KB

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