diff --git a/ngx_http_auth_digest_module.c b/ngx_http_auth_digest_module.c index 0ddbe99..5869609 100644 --- a/ngx_http_auth_digest_module.c +++ b/ngx_http_auth_digest_module.c @@ -521,9 +521,6 @@ ngx_http_auth_digest_check_credentials(ngx_http_request_t *r, ngx_http_auth_dige else if (ngx_strncasecmp(name.data, (u_char *) "opaque", name.len) == 0) { ctx->opaque = value; } - else if (ngx_strncasecmp(name.data, (u_char *) "algorithm", name.len) == 0) { - ctx->algorithm = value; - } state = sw_lws_start; break; diff --git a/ngx_http_auth_digest_module.h b/ngx_http_auth_digest_module.h index b5e5c69..15ecea6 100644 --- a/ngx_http_auth_digest_module.h +++ b/ngx_http_auth_digest_module.h @@ -25,7 +25,6 @@ typedef struct { ngx_str_t response; ngx_str_t opaque; ngx_int_t stale; - ngx_str_t algorithm; } ngx_http_auth_digest_cred_t; // the nonce as an issue-time/random-num pair