From b98725d3d0506c895f6a9f9d38f9168d499275fc Mon Sep 17 00:00:00 2001 From: Erik Dubbelboer Date: Mon, 8 Sep 2014 13:46:41 +0000 Subject: [PATCH] We parse algorithm but don't use it. --- ngx_http_auth_digest_module.c | 3 --- ngx_http_auth_digest_module.h | 1 - 2 files changed, 4 deletions(-) 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