This commit is contained in:
Christoph Polcin 2018-07-13 12:12:09 +02:00
parent 45a56c2115
commit 28039fda22

View File

@ -91,7 +91,7 @@ func getDigestAuthorization(digestParts map[string]string) string {
case "MD5-sess": case "MD5-sess":
ha1 = getMD5( ha1 = getMD5(
fmt.Sprintf("%s:%v:%s", fmt.Sprintf("%s:%v:%s",
getMD5(d["username"] + ":" + d["realm"] + ":" + d["password"]), getMD5(d["username"]+":"+d["realm"]+":"+d["password"]),
nonceCount, nonceCount,
cnonce, cnonce,
), ),