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/stream/ngx_stream_ssl_module.c | |
parent | 3cd06a3a9a1f815cbd5391211947d7aed4feb061 (diff) | |
parent | 09d5305592c3ff8ff30e54dc3e9ce3dbac72cf59 (diff) | |
download | nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.tar.gz nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.zip |
Merged with the default branch.
Diffstat (limited to 'src/stream/ngx_stream_ssl_module.c')
-rw-r--r-- | src/stream/ngx_stream_ssl_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c index 34fb8e8bd..4b98f2586 100644 --- a/src/stream/ngx_stream_ssl_module.c +++ b/src/stream/ngx_stream_ssl_module.c @@ -1073,7 +1073,7 @@ ngx_stream_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; } |