jpayne@69: /* jpayne@69: * WARNING: do not edit! jpayne@69: * Generated by Makefile from include/openssl/opensslconf.h.in jpayne@69: * jpayne@69: * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. jpayne@69: * jpayne@69: * Licensed under the OpenSSL license (the "License"). You may not use jpayne@69: * this file except in compliance with the License. You can obtain a copy jpayne@69: * in the file LICENSE in the source distribution or at jpayne@69: * https://www.openssl.org/source/license.html jpayne@69: */ jpayne@69: jpayne@69: #include jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: #ifdef OPENSSL_ALGORITHM_DEFINES jpayne@69: # error OPENSSL_ALGORITHM_DEFINES no longer supported jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * OpenSSL was configured with the following options: jpayne@69: */ jpayne@69: jpayne@69: #ifndef OPENSSL_NO_MD2 jpayne@69: # define OPENSSL_NO_MD2 jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_RC5 jpayne@69: # define OPENSSL_NO_RC5 jpayne@69: #endif jpayne@69: #ifndef OPENSSL_THREADS jpayne@69: # define OPENSSL_THREADS jpayne@69: #endif jpayne@69: #ifndef OPENSSL_RAND_SEED_OS jpayne@69: # define OPENSSL_RAND_SEED_OS jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_ASAN jpayne@69: # define OPENSSL_NO_ASAN jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_CRYPTO_MDEBUG jpayne@69: # define OPENSSL_NO_CRYPTO_MDEBUG jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE jpayne@69: # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_DEVCRYPTOENG jpayne@69: # define OPENSSL_NO_DEVCRYPTOENG jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 jpayne@69: # define OPENSSL_NO_EC_NISTP_64_GCC_128 jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_EGD jpayne@69: # define OPENSSL_NO_EGD jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_EXTERNAL_TESTS jpayne@69: # define OPENSSL_NO_EXTERNAL_TESTS jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_FUZZ_AFL jpayne@69: # define OPENSSL_NO_FUZZ_AFL jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_FUZZ_LIBFUZZER jpayne@69: # define OPENSSL_NO_FUZZ_LIBFUZZER jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_HEARTBEATS jpayne@69: # define OPENSSL_NO_HEARTBEATS jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_MSAN jpayne@69: # define OPENSSL_NO_MSAN jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_SCTP jpayne@69: # define OPENSSL_NO_SCTP jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_SSL_TRACE jpayne@69: # define OPENSSL_NO_SSL_TRACE jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_SSL3 jpayne@69: # define OPENSSL_NO_SSL3 jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_SSL3_METHOD jpayne@69: # define OPENSSL_NO_SSL3_METHOD jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_UBSAN jpayne@69: # define OPENSSL_NO_UBSAN jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_UNIT_TEST jpayne@69: # define OPENSSL_NO_UNIT_TEST jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS jpayne@69: # define OPENSSL_NO_WEAK_SSL_CIPHERS jpayne@69: #endif jpayne@69: #ifndef OPENSSL_NO_STATIC_ENGINE jpayne@69: # define OPENSSL_NO_STATIC_ENGINE jpayne@69: #endif jpayne@69: jpayne@69: jpayne@69: /* jpayne@69: * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers jpayne@69: * don't like that. This will hopefully silence them. jpayne@69: */ jpayne@69: #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; jpayne@69: jpayne@69: /* jpayne@69: * Applications should use -DOPENSSL_API_COMPAT= to suppress the jpayne@69: * declarations of functions deprecated in or before . Otherwise, they jpayne@69: * still won't see them if the library has been built to disable deprecated jpayne@69: * functions. jpayne@69: */ jpayne@69: #ifndef DECLARE_DEPRECATED jpayne@69: # define DECLARE_DEPRECATED(f) f; jpayne@69: # ifdef __GNUC__ jpayne@69: # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) jpayne@69: # undef DECLARE_DEPRECATED jpayne@69: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); jpayne@69: # endif jpayne@69: # elif defined(__SUNPRO_C) jpayne@69: # if (__SUNPRO_C >= 0x5130) jpayne@69: # undef DECLARE_DEPRECATED jpayne@69: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); jpayne@69: # endif jpayne@69: # endif jpayne@69: #endif jpayne@69: jpayne@69: #ifndef OPENSSL_FILE jpayne@69: # ifdef OPENSSL_NO_FILENAMES jpayne@69: # define OPENSSL_FILE "" jpayne@69: # define OPENSSL_LINE 0 jpayne@69: # else jpayne@69: # define OPENSSL_FILE __FILE__ jpayne@69: # define OPENSSL_LINE __LINE__ jpayne@69: # endif jpayne@69: #endif jpayne@69: jpayne@69: #ifndef OPENSSL_MIN_API jpayne@69: # define OPENSSL_MIN_API 0 jpayne@69: #endif jpayne@69: jpayne@69: #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API jpayne@69: # undef OPENSSL_API_COMPAT jpayne@69: # define OPENSSL_API_COMPAT OPENSSL_MIN_API jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * Do not deprecate things to be deprecated in version 1.2.0 before the jpayne@69: * OpenSSL version number matches. jpayne@69: */ jpayne@69: #if OPENSSL_VERSION_NUMBER < 0x10200000L jpayne@69: # define DEPRECATEDIN_1_2_0(f) f; jpayne@69: #elif OPENSSL_API_COMPAT < 0x10200000L jpayne@69: # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) jpayne@69: #else jpayne@69: # define DEPRECATEDIN_1_2_0(f) jpayne@69: #endif jpayne@69: jpayne@69: #if OPENSSL_API_COMPAT < 0x10100000L jpayne@69: # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) jpayne@69: #else jpayne@69: # define DEPRECATEDIN_1_1_0(f) jpayne@69: #endif jpayne@69: jpayne@69: #if OPENSSL_API_COMPAT < 0x10000000L jpayne@69: # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) jpayne@69: #else jpayne@69: # define DEPRECATEDIN_1_0_0(f) jpayne@69: #endif jpayne@69: jpayne@69: #if OPENSSL_API_COMPAT < 0x00908000L jpayne@69: # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) jpayne@69: #else jpayne@69: # define DEPRECATEDIN_0_9_8(f) jpayne@69: #endif jpayne@69: jpayne@69: /* Generate 80386 code? */ jpayne@69: #undef I386_ONLY jpayne@69: jpayne@69: #undef OPENSSL_UNISTD jpayne@69: #define OPENSSL_UNISTD jpayne@69: jpayne@69: #undef OPENSSL_EXPORT_VAR_AS_FUNCTION jpayne@69: jpayne@69: /* jpayne@69: * The following are cipher-specific, but are part of the public API. jpayne@69: */ jpayne@69: #if !defined(OPENSSL_SYS_UEFI) jpayne@69: # undef BN_LLONG jpayne@69: /* Only one for the following should be defined */ jpayne@69: # define SIXTY_FOUR_BIT_LONG jpayne@69: # undef SIXTY_FOUR_BIT jpayne@69: # undef THIRTY_TWO_BIT jpayne@69: #endif jpayne@69: jpayne@69: #define RC4_INT unsigned int jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif