1 --- ../nginx-auth-ldap-83c059b/ngx_http_auth_ldap_module.c.orig	2022-08-21 17:04:57.754760000 +0300
2 +++ ../nginx-auth-ldap-83c059b/ngx_http_auth_ldap_module.c	2022-08-21 17:08:46.939318000 +0300
3 @@ -1779,6 +1779,7 @@
4      }
5 
6      r->headers_out.www_authenticate->hash = 1;
7 +    r->headers_out.www_authenticate->next = NULL;
8      r->headers_out.www_authenticate->key.len = sizeof("WWW-Authenticate") - 1;
9      r->headers_out.www_authenticate->key.data = (u_char *) "WWW-Authenticate";
10      r->headers_out.www_authenticate->value = *realm;
11