From: Remi Tricot-Le Breton Date: Fri, 4 Jul 2025 13:17:59 +0000 (+0200) Subject: CLEANUP: ssl: Rename ssl_trace-t.h to ssl_trace.h X-Git-Tag: v3.3-dev3~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a075d6928a5aa20d362a60b093b1e43b08655979;p=thirdparty%2Fhaproxy.git CLEANUP: ssl: Rename ssl_trace-t.h to ssl_trace.h This header does not actually contain any structures so it's best to remove the '-t' from the name for better consistency. --- diff --git a/include/haproxy/ssl_trace-t.h b/include/haproxy/ssl_trace.h similarity index 62% rename from include/haproxy/ssl_trace-t.h rename to include/haproxy/ssl_trace.h index 3e8dc1c1a..cd22ffc47 100644 --- a/include/haproxy/ssl_trace-t.h +++ b/include/haproxy/ssl_trace.h @@ -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 @@ -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 */ diff --git a/src/ssl_clienthello.c b/src/ssl_clienthello.c index 5c951a6ba..747e74f91 100644 --- a/src/ssl_clienthello.c +++ b/src/ssl_clienthello.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include static void ssl_sock_switchctx_set(SSL *ssl, SSL_CTX *ctx) { diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index 1e461a1fc..6d1a2178f 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -63,7 +63,7 @@ #include #include #include -#include +#include #ifdef HAVE_SSL_OCSP diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 216d2c558..a13e13f32 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -88,7 +88,7 @@ #include #include #include -#include +#include /* ***** READ THIS before adding code here! ***** diff --git a/src/ssl_trace.c b/src/ssl_trace.c index ee65499ca..47332b5d9 100644 --- a/src/ssl_trace.c +++ b/src/ssl_trace.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include