From: Tomas Mraz Date: Fri, 16 May 2025 09:08:37 +0000 (+0200) Subject: OSSL_CMP_MSG_http_perform(): Remove extraneous %s from debug log print X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0873cd1b680d2f54de3dbcc754ea6b1b397f112b;p=thirdparty%2Fopenssl.git 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) --- 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); }