samizdatco/nginx-http-auth-digest

Error Compiling - nginx-1.2.2

Closed this issue · 2 comments

I'm receiving the following error when I tried compiling nginx with the nginx-http-auth-digest module:

    -o objs/addon/nginx-http-auth-digest/ngx_http_auth_digest_module.o \
    ../nginx-http-auth-digest//ngx_http_auth_digest_module.c
../nginx-http-auth-digest//ngx_http_auth_digest_module.c: In function 'ngx_http_auth_digest_decode_auth':
../nginx-http-auth-digest//ngx_http_auth_digest_module.c:297:26: error: variable 'p' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/nginx-http-auth-digest/ngx_http_auth_digest_module.o] Error 1

This appears to be addressed in #12

Fixed in latest version.