From 0d3efc875483d212b4cc2082247bf6abb2b56aca Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Fri, 10 Oct 2025 17:38:50 +0800 Subject: [PATCH] s_server: print program not, not port MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joshua Rogers Reviewed-by: Matt Caswell Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28807) --- apps/s_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/s_server.c b/apps/s_server.c index 94f225f4426..1977e4f5c03 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1399,7 +1399,7 @@ int s_server_main(int argc, char *argv[]) if (BIO_parse_hostserv(opt_arg(), NULL, &port, BIO_PARSE_PRIO_SERV) < 1) { BIO_printf(bio_err, "%s: -port argument malformed or ambiguous\n", - port); + prog); goto end; } break; @@ -1414,7 +1414,7 @@ int s_server_main(int argc, char *argv[]) if (BIO_parse_hostserv(opt_arg(), &host, &port, BIO_PARSE_PRIO_SERV) < 1) { BIO_printf(bio_err, "%s: -accept argument malformed or ambiguous\n", - port); + prog); goto end; } break; -- 2.47.3