Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-08-27 09:37:30

0001 /**
0002  * \file mbedtls/config_adjust_x509.h
0003  * \brief Adjust X.509 configuration
0004  *
0005  * This is an internal header. Do not include it directly.
0006  *
0007  * Automatically enable certain dependencies. Generally, MBEDTLS_xxx
0008  * configurations need to be explicitly enabled by the user: enabling
0009  * MBEDTLS_xxx_A but not MBEDTLS_xxx_B when A requires B results in a
0010  * compilation error. However, we do automatically enable certain options
0011  * in some circumstances. One case is if MBEDTLS_xxx_B is an internal option
0012  * used to identify parts of a module that are used by other module, and we
0013  * don't want to make the symbol MBEDTLS_xxx_B part of the public API.
0014  * Another case is if A didn't depend on B in earlier versions, and we
0015  * want to use B in A but we need to preserve backward compatibility with
0016  * configurations that explicitly activate MBEDTLS_xxx_A but not
0017  * MBEDTLS_xxx_B.
0018  */
0019 /*
0020  *  Copyright The Mbed TLS Contributors
0021  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
0022  */
0023 
0024 #ifndef MBEDTLS_CONFIG_ADJUST_X509_H
0025 #define MBEDTLS_CONFIG_ADJUST_X509_H
0026 
0027 #if !defined(MBEDTLS_CONFIG_FILES_READ)
0028 #error "Do not include mbedtls/config_adjust_*.h manually! This can lead to problems, " \
0029     "up to and including runtime errors such as buffer overflows. " \
0030     "If you're trying to fix a complaint from check_config.h, just remove " \
0031     "it from your configuration file: since Mbed TLS 3.0, it is included " \
0032     "automatically at the right point."
0033 #endif /* */
0034 
0035 #endif /* MBEDTLS_CONFIG_ADJUST_X509_H */