From 14c332baeeadb5e32030778d0ed0cc08873ff05b Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Sat, 14 Nov 2020 12:26:53 +0100 Subject: [PATCH] Fix a Doxygen warning We generate the Doxygen documentation in a configuration where part of config.h is excluded. See https://github.com/ARMmbed/mbedtls/issues/520 ``` /var/lib/build/include/mbedtls/config.h:3635: warning: documentation for unknown define MBEDTLS_PSA_HMAC_DRBG_MD_TYPE found. ``` This is a more general issue and fixing it is out of scope of my current work. Therefore, just do something simple to silence Doxygen, and never mind that this causes the documentation of `MBEDTLS_PSA_HMAC_DRBG_MD_TYPE` to be omitted from the rendered documentation. We'll fix that when we fix all the configuration macros with a similar problem. Signed-off-by: Gilles Peskine --- include/mbedtls/config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 5755df3b9..6f2d54156 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -3636,8 +3636,7 @@ //#define MBEDTLS_PARAM_FAILED( cond ) assert( cond ) /* PSA options */ -/** \def MBEDTLS_PSA_HMAC_DRBG_MD_TYPE - * +/** * Use HMAC_DRBG with the specified hash algorithm for HMAC_DRBG for the * PSA crypto subsystem. *