fix build fail with MBEDTLS_DEPRECATED
When deprecated functions are allowed Signed-off-by: Brett Warren <brett.warren@arm.com>
This commit is contained in:
parent
3a96d09898
commit
9e98573ca2
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ MBEDTLS_DEPRECATED typedef int mbedtls_deprecated_numeric_constant_t;
|
||||||
#define MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( VAL ) \
|
#define MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( VAL ) \
|
||||||
( (mbedtls_deprecated_numeric_constant_t) ( VAL ) )
|
( (mbedtls_deprecated_numeric_constant_t) ( VAL ) )
|
||||||
#else /* MBEDTLS_DEPRECATED_WARNING */
|
#else /* MBEDTLS_DEPRECATED_WARNING */
|
||||||
|
#define MBEDTLS_DEPRECATED
|
||||||
#define MBEDTLS_DEPRECATED_STRING_CONSTANT( VAL ) VAL
|
#define MBEDTLS_DEPRECATED_STRING_CONSTANT( VAL ) VAL
|
||||||
#define MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( VAL ) VAL
|
#define MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( VAL ) VAL
|
||||||
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
||||||
|
|
Loading…
Reference in a new issue