1 // Copyright 2014 The BoringSSL Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // https://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This header is provided in order to make compiling against code that expects 16 // OpenSSL easier. 17 18 #ifndef OPENSSL_HEADER_OPENSSLCONF_H 19 #define OPENSSL_HEADER_OPENSSLCONF_H 20 21 // Keep in sync with the list in rust/bssl-sys/build.rs. 22 23 #define OPENSSL_NO_ASYNC 24 #define OPENSSL_NO_BF 25 #define OPENSSL_NO_BLAKE2 26 #define OPENSSL_NO_BUF_FREELISTS 27 #define OPENSSL_NO_CAMELLIA 28 #define OPENSSL_NO_CAPIENG 29 #define OPENSSL_NO_CAST 30 #define OPENSSL_NO_COMP 31 #define OPENSSL_NO_CT 32 #define OPENSSL_NO_DANE 33 #define OPENSSL_NO_DEPRECATED 34 #define OPENSSL_NO_DGRAM 35 #define OPENSSL_NO_DYNAMIC_ENGINE 36 #define OPENSSL_NO_EC_NISTP_64_GCC_128 37 #define OPENSSL_NO_EC2M 38 #define OPENSSL_NO_EGD 39 #define OPENSSL_NO_ENGINE 40 #define OPENSSL_NO_GMP 41 #define OPENSSL_NO_GOST 42 #define OPENSSL_NO_HEARTBEATS 43 #define OPENSSL_NO_HW 44 #define OPENSSL_NO_IDEA 45 #define OPENSSL_NO_JPAKE 46 #define OPENSSL_NO_KRB5 47 #define OPENSSL_NO_MD2 48 #define OPENSSL_NO_MDC2 49 #define OPENSSL_NO_OCB 50 #define OPENSSL_NO_OCSP 51 #define OPENSSL_NO_RC2 52 #define OPENSSL_NO_RC5 53 #define OPENSSL_NO_RFC3779 54 #define OPENSSL_NO_RIPEMD 55 #define OPENSSL_NO_RMD160 56 #define OPENSSL_NO_SCTP 57 #define OPENSSL_NO_SEED 58 #define OPENSSL_NO_SM2 59 #define OPENSSL_NO_SM3 60 #define OPENSSL_NO_SM4 61 #define OPENSSL_NO_SRP 62 #define OPENSSL_NO_SSL_TRACE 63 #define OPENSSL_NO_SSL2 64 #define OPENSSL_NO_SSL3 65 #define OPENSSL_NO_SSL3_METHOD 66 #define OPENSSL_NO_STATIC_ENGINE 67 #define OPENSSL_NO_STORE 68 #define OPENSSL_NO_WHIRLPOOL 69 70 // We do not implement OpenSSL's CMS API, except for a tiny subset. Projects 71 // targeting the tiny subset can define BORINGSSL_NO_NO_CMS to suppress 72 // OPENSSL_NO_CMS, to make it easier to compile code that expects OpenSSL. This 73 // option does not change what APIs are exposed by BoringSSL, only this macro. 74 #if !defined(BORINGSSL_NO_NO_CMS) 75 #define OPENSSL_NO_CMS 76 #endif 77 78 #endif // OPENSSL_HEADER_OPENSSLCONF_H 79