opensslconf.h 3.9 KB

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