OCSP: fixed invalid type for the 'ssl_ocsp' directive.

This commit is contained in:
Roman Semenov 2025-10-22 11:24:27 -07:00 committed by Roman Arutyunyan
parent c93a0c48af
commit ce30a1cb0d
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
NULL }, NULL },
{ ngx_string("ssl_ocsp"), { 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_conf_set_enum_slot,
NGX_HTTP_SRV_CONF_OFFSET, NGX_HTTP_SRV_CONF_OFFSET,
offsetof(ngx_http_ssl_srv_conf_t, ocsp), offsetof(ngx_http_ssl_srv_conf_t, ocsp),

View File

@ -239,7 +239,7 @@ static ngx_command_t ngx_stream_ssl_commands[] = {
NULL }, NULL },
{ ngx_string("ssl_ocsp"), { 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_conf_set_enum_slot,
NGX_STREAM_SRV_CONF_OFFSET, NGX_STREAM_SRV_CONF_OFFSET,
offsetof(ngx_stream_ssl_srv_conf_t, ocsp), offsetof(ngx_stream_ssl_srv_conf_t, ocsp),