There was an error while loading. Please reload this page.
2 parents 7ab0cc5 + 4e5063b commit 5d59d98Copy full SHA for 5d59d98
pkg/auth/client.go
@@ -99,7 +99,7 @@ func (auth *Authorization) CalcResponse(request sip.Request) *Authorization {
99
ncHex := "00000000"
100
auth.ncHex = ncHex[:len(ncHex)-len(hex)] + hex
101
// Nc-value = 8LHEX. Max value = 'FFFFFFFF'.
102
-if auth.nc == 4294967296 {
+if temp_nc := int64(auth.nc); temp_nc == 4294967296 {
103
auth.nc = 1
104
auth.ncHex = "00000001"
105
}
0 commit comments