From: Michal Bohuslávek Date: Tue, 6 Sep 2016 09:49:26 +0000 (+0100) Subject: crypto/rsa: remove unused variable y X-Git-Tag: go1.8beta1~1380 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4ba2a4913c4e29754ade9d7329ff324a8f5de59a;p=gostls13.git crypto/rsa: remove unused variable y Change-Id: I70beb844cd6928dbfbfd8de365e0cb708e54f71e Reviewed-on: https://go-review.googlesource.com/28496 Run-TryBot: Brad Fitzpatrick Run-TryBot: Adam Langley TryBot-Result: Gobot Gobot Reviewed-by: Adam Langley --- diff --git a/src/crypto/rsa/rsa.go b/src/crypto/rsa/rsa.go index 594305631b..d79c9b23fc 100644 --- a/src/crypto/rsa/rsa.go +++ b/src/crypto/rsa/rsa.go @@ -268,9 +268,8 @@ NextSetOfPrimes: g := new(big.Int) priv.D = new(big.Int) - y := new(big.Int) e := big.NewInt(int64(priv.E)) - g.GCD(priv.D, y, e, totient) + g.GCD(priv.D, nil, e, totient) if g.Cmp(bigOne) == 0 { if priv.D.Sign() < 0 {