From: Remi Tricot-Le Breton Date: Mon, 9 Jan 2023 11:02:49 +0000 (+0100) Subject: MINOR: ssl: Remove mention of ckch_store in error message of cli command X-Git-Tag: v2.8-dev2~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14419ebf2b8b9e638d804cec881003eb943d0eae;p=thirdparty%2Fhaproxy.git MINOR: ssl: Remove mention of ckch_store in error message of cli command When calling 'update ssl ocsp-response' with an unknown certificate file name, the error message would mention a "ckch_store" which is an internal structure unknown by users. --- diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index 73679cbd47..46dba88bd2 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -1255,7 +1255,7 @@ static int cli_parse_update_ocsp_response(char **args, char *payload, struct app ckch_store = ckchs_lookup(args[3]); if (!ckch_store) { - memprintf(&err, "%sCkch_store not found!\n", err ? err : ""); + memprintf(&err, "%sUnknown certificate! 'update ssl ocsp-response' expects an already known certificate file name.\n", err ? err : ""); errcode |= ERR_ALERT | ERR_FATAL; HA_SPIN_UNLOCK(CKCH_LOCK, &ckch_lock); goto end;