mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 07:04:17 +01:00
Document MBEDTLS_TEST_DEPRECATED
This commit is contained in:
parent
895242be1c
commit
2ff02c361e
@ -29,6 +29,11 @@
|
|||||||
#include "psa/crypto.h"
|
#include "psa/crypto.h"
|
||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
||||||
|
|
||||||
|
/* Test code may use deprecated identifiers only if the preprocessor symbol
|
||||||
|
* MBEDTLS_TEST_DEPRECATED is defined. When building tests, set
|
||||||
|
* MBEDTLS_TEST_DEPRECATED explicitly if MBEDTLS_DEPRECATED_WARNING is
|
||||||
|
* enabled but the corresponding warnings are not treated as errors.
|
||||||
|
*/
|
||||||
#if !defined(MBEDTLS_DEPRECATED_REMOVED) && !defined(MBEDTLS_DEPRECATED_WARNING)
|
#if !defined(MBEDTLS_DEPRECATED_REMOVED) && !defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
#define MBEDTLS_TEST_DEPRECATED
|
#define MBEDTLS_TEST_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user