various: remove redundant parentheses (#15793)

This commit is contained in:
Furkan KAMACI
2018-01-03 15:14:47 +03:00
committed by Péter Szilágyi
parent 9d48dbf5c2
commit b8caba9709
12 changed files with 22 additions and 22 deletions

View File

@ -314,7 +314,7 @@ func (prv *PrivateKey) Decrypt(rand io.Reader, c, s1, s2 []byte) (m []byte, err
switch c[0] {
case 2, 3, 4:
rLen = ((prv.PublicKey.Curve.Params().BitSize + 7) / 4)
rLen = (prv.PublicKey.Curve.Params().BitSize + 7) / 4
if len(c) < (rLen + hLen + 1) {
err = ErrInvalidMessage
return