summaryrefslogtreecommitdiff
path: root/daemon/digest.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-11 22:03:08 +0000
committerStef Walter <stef@memberwebs.com>2008-06-11 22:03:08 +0000
commitde44fe7893da8d8c9903f1a7268fa6fe03446d36 (patch)
treed551e17b64d6bef889179b32ab1bdd991e3c0fbf /daemon/digest.h
parent0cb3f6098d959479a96c26a92d91becc2110b30d (diff)
Allow better migration of live digest sessions between httpauth
daemons by using the 'stale' flag when things seem out of date.
Diffstat (limited to 'daemon/digest.h')
-rw-r--r--daemon/digest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/digest.h b/daemon/digest.h
index 7a0f59c..fb9bfd7 100644
--- a/daemon/digest.h
+++ b/daemon/digest.h
@@ -73,8 +73,8 @@ const char* digest_challenge(ha_buffer_t* buf, const char* nonce_str,
* Validate digest headers once they've been parsed. Note that it's up
* to the caller to validate the 'username' and 'nonce' fields.
*/
-int digest_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t* buf);
-int digest_pre_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t* buf);
+int digest_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t* buf, int *stale);
+int digest_pre_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t* buf, int *stale);
/* This assumes a digest_context that's been prechecked successfully */
int digest_complete_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t* buf);