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