From a9a10f36a996c8e509bc371f0f8b17cb3feaeb4d Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Fri, 12 Apr 2024 09:56:34 +0000 Subject: [PATCH] mod_ssl_ct: Fix format warnings. * modules/ssl/mod_ssl_ct.c(client_extension_add_callback, server_extension_add_callback): Variable ext_type is unsigned, so use %u instead of %hu. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916924 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/mod_ssl_ct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ssl/mod_ssl_ct.c b/modules/ssl/mod_ssl_ct.c index 769adba795d..06c1aeecffb 100644 --- a/modules/ssl/mod_ssl_ct.c +++ b/modules/ssl/mod_ssl_ct.c @@ -2048,7 +2048,7 @@ static int client_extension_add_callback(SSL *ssl, unsigned ext_type, ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c, "client_extension_add_callback called, " - "ext %hu will be in ClientHello", + "ext %u will be in ClientHello", ext_type); return 1; @@ -2330,7 +2330,7 @@ static int server_extension_add_callback(SSL *ssl, unsigned ext_type, ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c, "server_extension_add_callback called, " - "ext %hu will be in ServerHello", + "ext %u will be in ServerHello", ext_type); rv = read_scts(c->pool, fingerprint, -- 2.47.2