summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoman Semenov <r.semenov@f5.com>2025-10-22 11:24:27 -0700
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-10-27 15:05:36 +0400
commitce30a1cb0ddce88027e760dc91145af6c6e8eef1 (patch)
tree8df93e450cda83c6ad3a6192942db158de8ce3b1
parentc93a0c48af87bbae1568eaf110e207e435bbe0bd (diff)
downloadnginx-ce30a1cb0ddce88027e760dc91145af6c6e8eef1.tar.gz
nginx-ce30a1cb0ddce88027e760dc91145af6c6e8eef1.tar.bz2
OCSP: fixed invalid type for the 'ssl_ocsp' directive.
-rw-r--r--src/http/modules/ngx_http_ssl_module.c2
-rw-r--r--src/stream/ngx_stream_ssl_module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 6d9c2efad..dc82472d3 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -237,7 +237,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
NULL },
{ ngx_string("ssl_ocsp"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
ngx_conf_set_enum_slot,
NGX_HTTP_SRV_CONF_OFFSET,
offsetof(ngx_http_ssl_srv_conf_t, ocsp),
diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c
index 349096877..b4a722a68 100644
--- a/src/stream/ngx_stream_ssl_module.c
+++ b/src/stream/ngx_stream_ssl_module.c
@@ -239,7 +239,7 @@ static ngx_command_t ngx_stream_ssl_commands[] = {
NULL },
{ ngx_string("ssl_ocsp"),
- NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_FLAG,
+ NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_TAKE1,
ngx_conf_set_enum_slot,
NGX_STREAM_SRV_CONF_OFFSET,
offsetof(ngx_stream_ssl_srv_conf_t, ocsp),