14 #ifndef MBEDTLS_BUILD_INFO_H
15 #define MBEDTLS_BUILD_INFO_H
29 #define MBEDTLS_VERSION_MAJOR 4
30 #define MBEDTLS_VERSION_MINOR 0
31 #define MBEDTLS_VERSION_PATCH 0
38 #define MBEDTLS_VERSION_NUMBER 0x04000000
39 #define MBEDTLS_VERSION_STRING "4.0.0"
40 #define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 4.0.0"
42 #if defined(MBEDTLS_CONFIG_FILES_READ)
43 #error "Something went wrong: MBEDTLS_CONFIG_FILES_READ defined before reading the config files!"
45 #if defined(MBEDTLS_CONFIG_IS_FINALIZED)
46 #error "Something went wrong: MBEDTLS_CONFIG_IS_FINALIZED defined before reading the config files!"
50 #if !defined(MBEDTLS_CONFIG_FILE)
53 #include MBEDTLS_CONFIG_FILE
56 #if defined(MBEDTLS_CONFIG_VERSION) && ( \
57 MBEDTLS_CONFIG_VERSION < 0x04000000 || \
58 MBEDTLS_CONFIG_VERSION > MBEDTLS_VERSION_NUMBER)
59 #error "Invalid config version, defined value of MBEDTLS_CONFIG_VERSION is unsupported"
67 #if defined(MBEDTLS_USER_CONFIG_FILE)
68 #include MBEDTLS_USER_CONFIG_FILE
72 #if defined(MBEDTLS_INCLUDE_AFTER_RAW_CONFIG)
73 #include MBEDTLS_INCLUDE_AFTER_RAW_CONFIG
80 #define MBEDTLS_CONFIG_FILES_READ
91 #define MBEDTLS_CONFIG_IS_FINALIZED
Adjust TLS configuration.
Adjust X.509 configuration.
Build-time configuration info.
Configuration options (set of defines)