Skip to content

Commit

Permalink
We parse algorithm but don't use it.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Sep 8, 2014
1 parent 47d5bac commit b98725d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions ngx_http_auth_digest_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion ngx_http_auth_digest_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b98725d

Please sign in to comment.