]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_ssl_ct: Fix format warnings.
authorYann Ylavic <ylavic@apache.org>
Fri, 12 Apr 2024 09:56:34 +0000 (09:56 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 12 Apr 2024 09:56:34 +0000 (09:56 +0000)
* 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

index 769adba795d4abb98c9281288707d781e9653014..06c1aeecffb264e210a7548c76f29c4c316d8cee 100644 (file)
@@ -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,