Skip to content

Commit d7411e9

Browse files
committed
change: satisfy ngx-releng style checks
1 parent d6ec829 commit d7411e9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ngx_http_lua_proxy_ssl_verifyby.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ngx_http_lua_proxy_ssl_verify_set_callback(ngx_conf_t *cf)
6262
return NGX_ERROR;
6363
}
6464

65-
#if (!defined SSL_ERROR_WANT_RETRY_VERIFY \
65+
#if (!defined SSL_ERROR_WANT_RETRY_VERIFY \
6666
|| OPENSSL_VERSION_NUMBER < 0x30000020L)
6767

6868
ngx_log_error(NGX_LOG_EMERG, cf->log, 0, "OpenSSL too old to support "
@@ -150,7 +150,7 @@ char *
150150
ngx_http_lua_proxy_ssl_verify_by_lua(ngx_conf_t *cf, ngx_command_t *cmd,
151151
void *conf)
152152
{
153-
#if (!defined SSL_ERROR_WANT_RETRY_VERIFY \
153+
#if (!defined SSL_ERROR_WANT_RETRY_VERIFY \
154154
|| OPENSSL_VERSION_NUMBER < 0x30000020L)
155155

156156
/* SSL_set_retry_verify() was added in OpenSSL 3.0.2 */
@@ -371,6 +371,7 @@ ngx_http_lua_proxy_ssl_verify_handler(X509_STORE_CTX *x509_store, void *arg)
371371
return SSL_set_retry_verify(ssl_conn);
372372

373373
failed:
374+
374375
if (cctx && cctx->pool) {
375376
ngx_destroy_pool(cctx->pool);
376377
}

src/ngx_http_lua_util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,7 @@ ngx_http_lua_run_thread(lua_State *L, ngx_http_request_t *r,
16821682
NGX_ERROR : NGX_HTTP_INTERNAL_SERVER_ERROR;
16831683

16841684
done:
1685+
16851686
#ifdef HAVE_PROXY_SSL_PATCH
16861687
if (ctx->context == NGX_HTTP_LUA_CONTEXT_PROXY_SSL_VERIFY) {
16871688
return NGX_OK;

0 commit comments

Comments
 (0)