according to rfc2617, nc-value = 8LHEX

Change-Id: I8646fd8d68cfa4786ee6fc24a757b2af93955c4b
This commit is contained in:
Bin Jin
2010-12-25 17:53:30 +08:00
parent 949fc0efc3
commit b19c9c3994

View File

@@ -308,7 +308,7 @@ public class RequestHandle {
String A2 = mMethod + ":" + mUrl;
// because we do not preemptively send authorization headers, nc is always 1
String nc = "000001";
String nc = "00000001";
String cnonce = computeCnonce();
String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce);