From 4599ea9fe31953c0c50738ed4b91ade76a693356 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Tue, 13 Jul 2021 10:20:38 +0200 Subject: Fix HTTP server port output and allow dynamic verbosity setting Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16061) --- apps/cmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/cmp.c') diff --git a/apps/cmp.c b/apps/cmp.c index 589cce1266..f646e3f7bc 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2568,7 +2568,7 @@ static int cmp_server(OSSL_CMP_CTX *srv_cmp_ctx) { int retry = 1; int ret = 1; - if ((acbio = http_server_init_bio(prog, opt_port)) == NULL) + if ((acbio = http_server_init(prog, opt_port, opt_verbosity)) == NULL) return 0; while (opt_max_msgs <= 0 || msgs < opt_max_msgs) { char *path = NULL; @@ -2578,7 +2578,7 @@ static int cmp_server(OSSL_CMP_CTX *srv_cmp_ctx) { ret = http_server_get_asn1_req(ASN1_ITEM_rptr(OSSL_CMP_MSG), (ASN1_VALUE **)&req, &path, &cbio, acbio, &keep_alive, - prog, opt_port, 0, 0); + prog, 0, 0); if (ret == 0) { /* no request yet */ if (retry) { ossl_sleep(1000); -- cgit v1.2.3