Fix platform setup/teardown feature and comments

Fixed the platform setup/teardown feature, by fixing it for doxygen and adding it
as a feature  in 'version_features.c'.
This commit is contained in:
Simon Butcher 2017-07-21 23:48:55 +01:00
parent be4f75c12f
commit c0da47dd1e
2 changed files with 3 additions and 2 deletions

View file

@ -326,8 +326,6 @@ int mbedtls_platform_setup( mbedtls_platform_context *ctx );
*
* \param ctx mbed TLS context
*
* \return 0 if successful
*
* \note This function should be called after every other mbed TLS module has
* been correctly freed using the appropriate free function.
* Its implementation is platform specific, and by default, unless

View file

@ -69,6 +69,9 @@ static const char *features[] = {
#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
"MBEDTLS_PLATFORM_NV_SEED_ALT",
#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
"MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT",
#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
#if defined(MBEDTLS_DEPRECATED_WARNING)
"MBEDTLS_DEPRECATED_WARNING",
#endif /* MBEDTLS_DEPRECATED_WARNING */