diff options
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | 2023-01-09 12:02:49 +0100 |
---|---|---|
committer | William Lallemand <wlallemand@haproxy.org> | 2023-01-09 15:43:41 +0100 |
commit | 14419ebf2b8b9e638d804cec881003eb943d0eae (patch) | |
tree | 2e46578e50d13061460f41e9a4a5e1a314609ff7 | |
parent | 648c83ecddba78f0235260fc2eab44e4524563dc (diff) | |
download | haproxy-20230109-ocsp-test-1.tar.gz |
MINOR: ssl: Remove mention of ckch_store in error message of cli command20230109-ocsp-test-1
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.
-rw-r--r-- | src/ssl_ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index 73679cbd4..46dba88bd 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; |