From 94ad831f8e6ed76324efad75bb8d762bf57d904a Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 25 Jan 2021 13:42:28 +0100 Subject: [PATCH] Add comments to some endif guards Signed-off-by: Gilles Peskine --- programs/ssl/ssl_client2.c | 4 ++-- programs/ssl/ssl_server2.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index 56df7dfe1..876555d93 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -762,8 +762,8 @@ int main( int argc, char *argv[] ) } #if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG) mbedtls_test_enable_insecure_external_rng( ); -#endif -#endif +#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */ +#endif /* MBEDTLS_USE_PSA_CRYPTO */ if( argc == 0 ) { diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index da7f0a6ab..57c053ce9 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -1414,8 +1414,8 @@ int main( int argc, char *argv[] ) } #if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG) mbedtls_test_enable_insecure_external_rng( ); -#endif -#endif +#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */ +#endif /* MBEDTLS_USE_PSA_CRYPTO */ #if !defined(_WIN32) /* Abort cleanly on SIGTERM and SIGINT */