Base the config version on MBEDTLS_VERSION_NUMBER
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
parent
b2e23de0f3
commit
2bb7456334
@ -49,7 +49,11 @@
|
||||
#define MBEDTLS_VERSION_STRING "2.26.0"
|
||||
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.26.0"
|
||||
|
||||
#define MBEDTLS_CONFIG_VERSION_LATEST 1
|
||||
/**
|
||||
* Equal to the #MBEDTLS_VERSION_NUMBER of the mbedtls version that introduced
|
||||
* the most recent config version
|
||||
*/
|
||||
#define MBEDTLS_CONFIG_VERSION_LATEST 0x03000000
|
||||
|
||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
|
@ -24,7 +24,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define MBEDTLS_CONFIG_VERSION 1
|
||||
/**
|
||||
* This is an optional version symbol that enables comatibility handling of
|
||||
* config files.
|
||||
*
|
||||
* It is equal to the #MBEDTLS_VERSION_NUMBER of the mbedtls version that
|
||||
* introduced the config format we want to be compatible with.
|
||||
*/
|
||||
#define MBEDTLS_CONFIG_VERSION 0x03000000
|
||||
|
||||
/**
|
||||
* \name SECTION: System support
|
||||
|
Loading…
Reference in New Issue
Block a user