]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: ssl: Rename ssl_trace-t.h to ssl_trace.h
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 4 Jul 2025 13:17:59 +0000 (15:17 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 4 Jul 2025 13:21:50 +0000 (15:21 +0200)
This header does not actually contain any structures so it's best to
remove the '-t' from the name for better consistency.

include/haproxy/ssl_trace.h [moved from include/haproxy/ssl_trace-t.h with 62% similarity]
src/ssl_clienthello.c
src/ssl_ocsp.c
src/ssl_sock.c
src/ssl_trace.c

similarity index 62%
rename from include/haproxy/ssl_trace-t.h
rename to include/haproxy/ssl_trace.h
index 3e8dc1c1a0437c3da04117a6cced44b57c0f0742..cd22ffc4795885d7b8a78beb7d9ee8519df26a7e 100644 (file)
@@ -1,18 +1,7 @@
-/*
- * include/haproxy/ssl_trace-t.h
- * Definitions for SSL traces internal types, constants and flags.
- *
- * Copyright (C) 2025
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
- */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 
-#ifndef _HAPROXY_SSL_TRACE_T_H
-#define _HAPROXY_SSL_TRACE_T_H
+#ifndef _HAPROXY_SSL_TRACE_H
+#define _HAPROXY_SSL_TRACE_H
 
 #include <haproxy/trace-t.h>
 
@@ -36,4 +25,4 @@ extern struct trace_source trace_ssl;
 
 #define TRACE_SOURCE &trace_ssl
 
-#endif /* _HAPROXY_SSL_TRACE_T_H */
+#endif /* _HAPROXY_SSL_TRACE_H */
index 5c951a6ba993617365960975fc97f5ea5714b0fc..747e74f9163f04199ef5a37272bbd23b04b4a637 100644 (file)
@@ -22,7 +22,7 @@
 #include <haproxy/ssl_gencert.h>
 #include <haproxy/ssl_sock.h>
 #include <haproxy/trace.h>
-#include <haproxy/ssl_trace-t.h>
+#include <haproxy/ssl_trace.h>
 
 static void ssl_sock_switchctx_set(SSL *ssl, SSL_CTX *ctx)
 {
index 1e461a1fc1ece7ba8f80a91c1312538608a8b6fd..6d1a2178fa70f4eac70e0cbfa128f6aa9366b883 100644 (file)
@@ -63,7 +63,7 @@
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
 #include <haproxy/trace.h>
-#include <haproxy/ssl_trace-t.h>
+#include <haproxy/ssl_trace.h>
 
 #ifdef HAVE_SSL_OCSP
 
index 216d2c558db4e83fa324116683a5fd0999ea617c..a13e13f32aef548120de269e2f455dd5f273a854 100644 (file)
@@ -88,7 +88,7 @@
 #include <haproxy/istbuf.h>
 #include <haproxy/ssl_ocsp.h>
 #include <haproxy/trace.h>
-#include <haproxy/ssl_trace-t.h>
+#include <haproxy/ssl_trace.h>
 
 
 /* ***** READ THIS before adding code here! *****
index ee65499cab3023929eb2a534f150ee33bfc8be1d..47332b5d9117ae902df4a65e53978aaa852d78a9 100644 (file)
@@ -15,7 +15,7 @@
 #include <haproxy/api-t.h>
 #include <haproxy/chunk.h>
 #include <haproxy/trace.h>
-#include <haproxy/ssl_trace-t.h>
+#include <haproxy/ssl_trace.h>
 #include <haproxy/connection.h>
 #include <haproxy/openssl-compat.h>
 #include <haproxy/ssl_sock-t.h>