Add ifdef for selftest in header file

See https://github.com/ARMmbed/mbedtls/pull/975
This commit is contained in:
Manuel Pégourié-Gonnard 2018-05-22 15:17:20 +02:00
parent 2df4bfe803
commit c0893122df

View file

@ -298,12 +298,14 @@ int mbedtls_aria_crypt_ctr( mbedtls_aria_context *ctx,
extern "C" {
#endif
#if defined(MBEDTLS_SELF_TEST)
/**
* \brief Checkup routine.
*
* \return \c 0 on success, or \c 1 on failure.
*/
int mbedtls_aria_self_test( int verbose );
#endif /* MBEDTLS_SELF_TEST */
#ifdef __cplusplus
}