]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
OSSL_CMP_MSG_http_perform(): Remove extraneous %s from debug log print
authorTomas Mraz <tomas@openssl.org>
Fri, 16 May 2025 09:08:37 +0000 (11:08 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 27 May 2025 17:50:41 +0000 (19:50 +0200)
Also add missing ":" to another log print.

Fixes #27634

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/27635)

crypto/cmp/cmp_http.c

index c0226e562a32ea1ecc89e907f762289057aff59c..d20ea618d84f6e2b8999ff7dcdf6bfc682a0514c 100644 (file)
@@ -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);
     }