From bc57310f843449a75d50cb35ec0717533da556d9 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 16 May 2025 11:08:37 +0200 Subject: [PATCH] OSSL_CMP_MSG_http_perform(): Remove extraneous %s from debug log print Also add missing ":" to another log print. Fixes #27634 Reviewed-by: David von Oheimb Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/27635) (cherry picked from commit 0873cd1b680d2f54de3dbcc754ea6b1b397f112b) --- crypto/cmp/cmp_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/cmp/cmp_http.c b/crypto/cmp/cmp_http.c index c0226e562a3..d20ea618d84 100644 --- a/crypto/cmp/cmp_http.c +++ b/crypto/cmp/cmp_http.c @@ -81,11 +81,11 @@ OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, path++; if (bios == NULL) ossl_cmp_log4(DEBUG, ctx, - "connecting to CMP server via http%s://%s:%s%s/%s", + "connecting to CMP server via http%s://%s:%s/%s", tls_used ? "s" : "", ctx->server, server_port, path); else ossl_cmp_log3(DEBUG, ctx, - "using existing connection with CMP server %s%s and HTTP path /%s", + "using existing connection with CMP server %s:%s and HTTP path /%s", ctx->server, server_port, path); } -- 2.47.2