good morning!!!!

Skip to content
Snippets Groups Projects
Commit 572e78ce authored by Felix Lange's avatar Felix Lange
Browse files

Merge pull request #1536 from fjl/fix-go1.5-build

crypto: fix build with Go 1.5
parents d18d2564 453d2c9c
Branches
Tags
No related merge requests found
...@@ -60,7 +60,14 @@ type BitCurve struct { ...@@ -60,7 +60,14 @@ type BitCurve struct {
} }
func (BitCurve *BitCurve) Params() *elliptic.CurveParams { func (BitCurve *BitCurve) Params() *elliptic.CurveParams {
return &elliptic.CurveParams{BitCurve.P, BitCurve.N, BitCurve.B, BitCurve.Gx, BitCurve.Gy, BitCurve.BitSize} return &elliptic.CurveParams{
P: BitCurve.P,
N: BitCurve.N,
B: BitCurve.B,
Gx: BitCurve.Gx,
Gy: BitCurve.Gy,
BitSize: BitCurve.BitSize,
}
} }
// IsOnBitCurve returns true if the given (x,y) lies on the BitCurve. // IsOnBitCurve returns true if the given (x,y) lies on the BitCurve.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment