diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2022-10-20 16:41:36 +0400 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2022-10-20 16:41:36 +0400 |
| commit | 3123fac3e764b4706881ffcb8f8b554c1628c5e0 (patch) | |
| tree | 0a8345c637b00eae13b983af54d9ab51426a6c72 /src/http/modules/ngx_http_ssl_module.c | |
| parent | 3cd06a3a9a1f815cbd5391211947d7aed4feb061 (diff) | |
| parent | 09d5305592c3ff8ff30e54dc3e9ce3dbac72cf59 (diff) | |
| download | nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.tar.gz nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.tar.bz2 | |
Merged with the default branch.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 4 |
1 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 64ad9ee2f..265cb3162 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -1116,7 +1116,7 @@ ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) len++; } - if (len == 0) { + if (len == 0 || j == value[i].len) { goto invalid; } @@ -1206,7 +1206,7 @@ ngx_http_ssl_ocsp_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) len++; } - if (len == 0) { + if (len == 0 || j == value[1].len) { goto invalid; } |
