mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-04 02:18:42 +02:00
lint
This commit is contained in:
parent
372e101961
commit
cd88b8f6dd
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ func Sign(rand io.Reader, priv *ecdsa.PrivateKey, hash []byte) (r, s *big.Int, e
|
||||||
c := priv.PublicKey.Curve
|
c := priv.PublicKey.Curve
|
||||||
N := c.Params().N
|
N := c.Params().N
|
||||||
|
|
||||||
var k, kInv *big.Int
|
var k, kInv *big.Int //nolint
|
||||||
for {
|
for {
|
||||||
for {
|
for {
|
||||||
k, err = randFieldElement(c, rand)
|
k, err = randFieldElement(c, rand)
|
||||||
|
@ -152,5 +152,5 @@ func Sign(rand io.Reader, priv *ecdsa.PrivateKey, hash []byte) (r, s *big.Int, e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return //nolint
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue