atomx / nginx-http-auth-digest

Digest Authentication for Nginx
Other
44 stars 14 forks source link

Build errors on centos 5 #6

Closed non7top closed 7 years ago

non7top commented 7 years ago
[   90s] cc1: warnings being treated as errors
[   90s] /usr/src/redhat/BUILD/nginx-1.11.6/nginx-http-auth-digest-f85f5d6fdcc06002ff879f5cbce930999c287011/ngx_http_auth_digest_module.c: In function 'ngx_http_auth_digest_handler':
[   90s] /usr/src/redhat/BUILD/nginx-1.11.6/nginx-http-auth-digest-f85f5d6fdcc06002ff879f5cbce930999c287011/ngx_http_auth_digest_module.c:316: warning: 'value.data' may be used uninitialized in this function
[   90s] /usr/src/redhat/BUILD/nginx-1.11.6/nginx-http-auth-digest-f85f5d6fdcc06002ff879f5cbce930999c287011/ngx_http_auth_digest_module.c:316: warning: 'value.len' may be used uninitialized in this function
[   90s] make[1]: *** [objs/addon/nginx-http-auth-digest-f85f5d6fdcc06002ff879f5cbce930999c287011/ngx_http_auth_digest_module.o] Error 1
[   90s] make[1]: *** Waiting for unfinished jobs....
[   91s] make[1]: Leaving directory `/usr/src/redhat/BUILD/nginx-1.11.6'

_log.txt

erikdubbelboer commented 7 years ago

I just pushed a possible fix. Can you confirm it works now?

non7top commented 7 years ago

Thank you! it compiles fine now.