From 923d5c9e3ced47c34a4a08bd6969df6cd60b8f18 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 15 Dec 2021 12:56:54 +0100 Subject: [PATCH] Rename ssl_debug_helpers.h It's no longer generated, so rename it accordingly. Signed-off-by: Gilles Peskine --- library/{ssl_debug_helpers_generated.h => ssl_debug_helpers.h} | 0 library/ssl_tls13_client.c | 2 +- library/ssl_tls13_server.c | 2 +- scripts/generate_ssl_debug_helpers.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename library/{ssl_debug_helpers_generated.h => ssl_debug_helpers.h} (100%) diff --git a/library/ssl_debug_helpers_generated.h b/library/ssl_debug_helpers.h similarity index 100% rename from library/ssl_debug_helpers_generated.h rename to library/ssl_debug_helpers.h diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c index 31d7dafdb..dcf1ff896 100644 --- a/library/ssl_tls13_client.c +++ b/library/ssl_tls13_client.c @@ -34,7 +34,7 @@ #include "ssl_misc.h" #include "ecdh_misc.h" #include "ssl_tls13_keys.h" -#include "ssl_debug_helpers_generated.h" +#include "ssl_debug_helpers.h" /* Write extensions */ diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c index faace4a0e..5e74083dd 100644 --- a/library/ssl_tls13_server.c +++ b/library/ssl_tls13_server.c @@ -26,7 +26,7 @@ #include "mbedtls/debug.h" #include "ssl_misc.h" -#include "ssl_debug_helpers_generated.h" +#include "ssl_debug_helpers.h" int mbedtls_ssl_tls13_handshake_server_step( mbedtls_ssl_context *ssl ) { diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py index 37e978646..21122b560 100755 --- a/scripts/generate_ssl_debug_helpers.py +++ b/scripts/generate_ssl_debug_helpers.py @@ -242,7 +242,7 @@ OUTPUT_C_TEMPLATE = '''\ #if defined(MBEDTLS_DEBUG_C) -#include "ssl_debug_helpers_generated.h" +#include "ssl_debug_helpers.h" {functions}