MINOR: ssl: Remove debug fprintf in 'update ssl ocsp-response' cli command

A debug fprintf was left behind in the new cli function.
This commit is contained in:
Remi Tricot-Le Breton 2023-01-23 15:57:14 +01:00 committed by William Lallemand
parent 305a4f32a5
commit 083b230699

View File

@ -1420,7 +1420,9 @@ static int cli_io_handler_update_ocsp_response(struct appctx *appctx)
}
}
if (!found) {
fprintf(stderr, "Missing 'Content-Type: application/ocsp-response' header\n");
chunk_printf(&trash, "Missing 'Content-Type: application/ocsp-response' header\n");
if (applet_putchk(appctx, &trash) == -1)
goto more;
goto end;
}
ctx->flags &= ~HC_F_RES_HDR;