opensslconf.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by Makefile from include/openssl/opensslconf.h.in
  4. *
  5. * Copyright 2016 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_iOS
  22. # define OPENSSL_SYS_iOS 1
  23. #endif
  24. #define OPENSSL_MIN_API 0x10100000L
  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_NO_ASAN
  35. # define OPENSSL_NO_ASAN
  36. #endif
  37. #ifndef OPENSSL_NO_ASYNC
  38. # define OPENSSL_NO_ASYNC
  39. #endif
  40. #ifndef OPENSSL_NO_CRYPTO_MDEBUG
  41. # define OPENSSL_NO_CRYPTO_MDEBUG
  42. #endif
  43. #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  44. # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
  45. #endif
  46. #ifndef OPENSSL_NO_DEPRECATED
  47. # define OPENSSL_NO_DEPRECATED
  48. #endif
  49. #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
  50. # define OPENSSL_NO_EC_NISTP_64_GCC_128
  51. #endif
  52. #ifndef OPENSSL_NO_EGD
  53. # define OPENSSL_NO_EGD
  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_AFALGENG
  89. # define OPENSSL_NO_AFALGENG
  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. #if defined(OPENSSL_NO_DEPRECATED)
  103. # define DECLARE_DEPRECATED(f)
  104. #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
  105. # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
  106. #else
  107. # define DECLARE_DEPRECATED(f) f;
  108. #endif
  109. #ifndef OPENSSL_FILE
  110. # ifdef OPENSSL_NO_FILENAMES
  111. # define OPENSSL_FILE ""
  112. # define OPENSSL_LINE 0
  113. # else
  114. # define OPENSSL_FILE __FILE__
  115. # define OPENSSL_LINE __LINE__
  116. # endif
  117. #endif
  118. #ifndef OPENSSL_MIN_API
  119. # define OPENSSL_MIN_API 0
  120. #endif
  121. #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
  122. # undef OPENSSL_API_COMPAT
  123. # define OPENSSL_API_COMPAT OPENSSL_MIN_API
  124. #endif
  125. #if OPENSSL_API_COMPAT < 0x10100000L
  126. # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
  127. #else
  128. # define DEPRECATEDIN_1_1_0(f)
  129. #endif
  130. #if OPENSSL_API_COMPAT < 0x10000000L
  131. # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
  132. #else
  133. # define DEPRECATEDIN_1_0_0(f)
  134. #endif
  135. #if OPENSSL_API_COMPAT < 0x00908000L
  136. # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
  137. #else
  138. # define DEPRECATEDIN_0_9_8(f)
  139. #endif
  140. #define OPENSSL_CPUID_OBJ
  141. /* Generate 80386 code? */
  142. #undef I386_ONLY
  143. #undef OPENSSL_UNISTD
  144. #define OPENSSL_UNISTD <unistd.h>
  145. #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
  146. /*
  147. * The following are cipher-specific, but are part of the public API.
  148. */
  149. #if !defined(OPENSSL_SYS_UEFI)
  150. # undef BN_LLONG
  151. /* Only one for the following should be defined */
  152. # define SIXTY_FOUR_BIT_LONG
  153. # undef SIXTY_FOUR_BIT
  154. # undef THIRTY_TWO_BIT
  155. #endif
  156. #define RC4_INT unsigned char
  157. #ifdef __cplusplus
  158. }
  159. #endif