opensslconf.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. #define OPENSSL_MIN_API 0x10100000L
  22. #ifndef OPENSSL_NO_CAMELLIA
  23. # define OPENSSL_NO_CAMELLIA
  24. #endif
  25. #ifndef OPENSSL_NO_CMS
  26. # define OPENSSL_NO_CMS
  27. #endif
  28. #ifndef OPENSSL_NO_COMP
  29. # define OPENSSL_NO_COMP
  30. #endif
  31. #ifndef OPENSSL_NO_IDEA
  32. # define OPENSSL_NO_IDEA
  33. #endif
  34. #ifndef OPENSSL_NO_MD2
  35. # define OPENSSL_NO_MD2
  36. #endif
  37. #ifndef OPENSSL_NO_MDC2
  38. # define OPENSSL_NO_MDC2
  39. #endif
  40. #ifndef OPENSSL_NO_RC5
  41. # define OPENSSL_NO_RC5
  42. #endif
  43. #ifndef OPENSSL_NO_SEED
  44. # define OPENSSL_NO_SEED
  45. #endif
  46. #ifndef OPENSSL_NO_WHIRLPOOL
  47. # define OPENSSL_NO_WHIRLPOOL
  48. #endif
  49. #ifndef OPENSSL_THREADS
  50. # define OPENSSL_THREADS
  51. #endif
  52. #ifndef OPENSSL_NO_AFALGENG
  53. # define OPENSSL_NO_AFALGENG
  54. #endif
  55. #ifndef OPENSSL_NO_ASAN
  56. # define OPENSSL_NO_ASAN
  57. #endif
  58. #ifndef OPENSSL_NO_ASYNC
  59. # define OPENSSL_NO_ASYNC
  60. #endif
  61. #ifndef OPENSSL_NO_CRYPTO_MDEBUG
  62. # define OPENSSL_NO_CRYPTO_MDEBUG
  63. #endif
  64. #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  65. # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  66. #endif
  67. #ifndef OPENSSL_NO_DTLS
  68. # define OPENSSL_NO_DTLS
  69. #endif
  70. #ifndef OPENSSL_NO_DTLS1
  71. # define OPENSSL_NO_DTLS1
  72. #endif
  73. #ifndef OPENSSL_NO_DTLS1_2
  74. # define OPENSSL_NO_DTLS1_2
  75. #endif
  76. #ifndef OPENSSL_NO_EC2M
  77. # define OPENSSL_NO_EC2M
  78. #endif
  79. #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
  80. # define OPENSSL_NO_EC_NISTP_64_GCC_128
  81. #endif
  82. #ifndef OPENSSL_NO_EGD
  83. # define OPENSSL_NO_EGD
  84. #endif
  85. #ifndef OPENSSL_NO_ENGINE
  86. # define OPENSSL_NO_ENGINE
  87. #endif
  88. #ifndef OPENSSL_NO_ERR
  89. # define OPENSSL_NO_ERR
  90. #endif
  91. #ifndef OPENSSL_NO_FUZZ_AFL
  92. # define OPENSSL_NO_FUZZ_AFL
  93. #endif
  94. #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
  95. # define OPENSSL_NO_FUZZ_LIBFUZZER
  96. #endif
  97. #ifndef OPENSSL_NO_GOST
  98. # define OPENSSL_NO_GOST
  99. #endif
  100. #ifndef OPENSSL_NO_HEARTBEATS
  101. # define OPENSSL_NO_HEARTBEATS
  102. #endif
  103. #ifndef OPENSSL_NO_MSAN
  104. # define OPENSSL_NO_MSAN
  105. #endif
  106. #ifndef OPENSSL_NO_RFC3779
  107. # define OPENSSL_NO_RFC3779
  108. #endif
  109. #ifndef OPENSSL_NO_SCTP
  110. # define OPENSSL_NO_SCTP
  111. #endif
  112. #ifndef OPENSSL_NO_SSL_TRACE
  113. # define OPENSSL_NO_SSL_TRACE
  114. #endif
  115. #ifndef OPENSSL_NO_SSL3
  116. # define OPENSSL_NO_SSL3
  117. #endif
  118. #ifndef OPENSSL_NO_SSL3_METHOD
  119. # define OPENSSL_NO_SSL3_METHOD
  120. #endif
  121. #ifndef OPENSSL_NO_TLS1
  122. # define OPENSSL_NO_TLS1
  123. #endif
  124. #ifndef OPENSSL_NO_TLS1_METHOD
  125. # define OPENSSL_NO_TLS1_METHOD
  126. #endif
  127. #ifndef OPENSSL_NO_TLS1_1
  128. # define OPENSSL_NO_TLS1_1
  129. #endif
  130. #ifndef OPENSSL_NO_TLS1_1_METHOD
  131. # define OPENSSL_NO_TLS1_1_METHOD
  132. #endif
  133. #ifndef OPENSSL_NO_UBSAN
  134. # define OPENSSL_NO_UBSAN
  135. #endif
  136. #ifndef OPENSSL_NO_UNIT_TEST
  137. # define OPENSSL_NO_UNIT_TEST
  138. #endif
  139. #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
  140. # define OPENSSL_NO_WEAK_SSL_CIPHERS
  141. #endif
  142. #ifndef OPENSSL_NO_AFALGENG
  143. # define OPENSSL_NO_AFALGENG
  144. #endif
  145. /*
  146. * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
  147. * don't like that. This will hopefully silence them.
  148. */
  149. #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
  150. /*
  151. * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
  152. * declarations of functions deprecated in or before <version>. Otherwise, they
  153. * still won't see them if the library has been built to disable deprecated
  154. * functions.
  155. */
  156. #ifndef DECLARE_DEPRECATED
  157. # if defined(OPENSSL_NO_DEPRECATED)
  158. # define DECLARE_DEPRECATED(f)
  159. # else
  160. # define DECLARE_DEPRECATED(f) f;
  161. # ifdef __GNUC__
  162. # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
  163. # undef DECLARE_DEPRECATED
  164. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  165. # endif
  166. # endif
  167. # endif
  168. #endif
  169. #ifndef OPENSSL_FILE
  170. # ifdef OPENSSL_NO_FILENAMES
  171. # define OPENSSL_FILE ""
  172. # define OPENSSL_LINE 0
  173. # else
  174. # define OPENSSL_FILE __FILE__
  175. # define OPENSSL_LINE __LINE__
  176. # endif
  177. #endif
  178. #ifndef OPENSSL_MIN_API
  179. # define OPENSSL_MIN_API 0
  180. #endif
  181. #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
  182. # undef OPENSSL_API_COMPAT
  183. # define OPENSSL_API_COMPAT OPENSSL_MIN_API
  184. #endif
  185. #if OPENSSL_API_COMPAT < 0x10100000L
  186. # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
  187. #else
  188. # define DEPRECATEDIN_1_1_0(f)
  189. #endif
  190. #if OPENSSL_API_COMPAT < 0x10000000L
  191. # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
  192. #else
  193. # define DEPRECATEDIN_1_0_0(f)
  194. #endif
  195. #if OPENSSL_API_COMPAT < 0x00908000L
  196. # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
  197. #else
  198. # define DEPRECATEDIN_0_9_8(f)
  199. #endif
  200. #define OPENSSL_CPUID_OBJ
  201. /* Generate 80386 code? */
  202. #undef I386_ONLY
  203. #undef OPENSSL_UNISTD
  204. #define OPENSSL_UNISTD <unistd.h>
  205. #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
  206. /*
  207. * The following are cipher-specific, but are part of the public API.
  208. */
  209. #if !defined(OPENSSL_SYS_UEFI)
  210. # define BN_LLONG
  211. /* Only one for the following should be defined */
  212. # undef SIXTY_FOUR_BIT_LONG
  213. # undef SIXTY_FOUR_BIT
  214. # define THIRTY_TWO_BIT
  215. #endif
  216. #define RC4_INT unsigned char
  217. #ifdef __cplusplus
  218. }
  219. #endif