From 36d9a9b9ffd52442dbdc62585dec4c4626ea3b39 Mon Sep 17 00:00:00 2001 From: willmafh Date: Fri, 25 Oct 2024 20:47:51 +0800 Subject: [PATCH] chore: more accurate error message --- src/ngx_http_lua_ssl_certby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx_http_lua_ssl_certby.c b/src/ngx_http_lua_ssl_certby.c index 0901f06eab..72a651bdbf 100644 --- a/src/ngx_http_lua_ssl_certby.c +++ b/src/ngx_http_lua_ssl_certby.c @@ -1433,7 +1433,7 @@ ngx_http_lua_ffi_set_priv_key(ngx_http_request_t *r, pkey = cdata; if (pkey == NULL) { - *err = "invalid private key failed"; + *err = "invalid private key"; goto failed; }