summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_auth_handler_digest.h')
-rw-r--r--net/http/http_auth_handler_digest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_auth_handler_digest.h b/net/http/http_auth_handler_digest.h
index 5289cc5..85d3f3b 100644
--- a/net/http/http_auth_handler_digest.h
+++ b/net/http/http_auth_handler_digest.h
@@ -23,6 +23,7 @@ class HttpAuthHandlerDigest : public HttpAuthHandler {
protected:
virtual bool Init(std::string::const_iterator challenge_begin,
std::string::const_iterator challenge_end) {
+ nonce_count_ = 1;
return ParseChallenge(challenge_begin, challenge_end);
}
@@ -98,6 +99,8 @@ class HttpAuthHandlerDigest : public HttpAuthHandler {
bool stale_;
DigestAlgorithm algorithm_;
int qop_; // Bitfield of QualityOfProtection
+
+ int nonce_count_;
};
} // namespace net