Skip to content

Commit 69ebb98

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "according to rfc2617, nc-value = 8LHEX"
2 parents bfb5f59 + b19c9c3 commit 69ebb98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/net/http/RequestHandle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private String computeDigestAuthResponse(String username,
308308
String A2 = mMethod + ":" + mUrl;
309309

310310
// because we do not preemptively send authorization headers, nc is always 1
311-
String nc = "000001";
311+
String nc = "00000001";
312312
String cnonce = computeCnonce();
313313
String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce);
314314

0 commit comments

Comments
 (0)