Skip to content

Commit 439a02a

Browse files
tmthrgdagentzh
authored andcommitted
typo: fixed an error message typo in set_der_priv_key().
The error string set in ngx_http_lua_ffi_ssl_set_der_private_key for SSL_use_PrivateKey failure has a typo. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent bb76eb1 commit 439a02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_ssl_certby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ ngx_http_lua_ffi_ssl_set_der_private_key(ngx_http_request_t *r,
742742
}
743743

744744
if (SSL_use_PrivateKey(ssl_conn, pkey) == 0) {
745-
*err = "SSL_CTX_use_PrivateKey() failed";
745+
*err = "SSL_use_PrivateKey() failed";
746746
goto failed;
747747
}
748748

0 commit comments

Comments
 (0)