gogost.go | 2 +- gost3410/public.go | 2 +- diff --git a/gogost.go b/gogost.go index 23355cd266cdc92233697f68729f801ccfb5936d41c93be0a06949b818b547b8..0d0f66c2f839fa54d9db1e05208686e72500b8de2350804e431579f480d3ea80 100644 --- a/gogost.go +++ b/gogost.go @@ -1,4 +1,4 @@ // Pure Go GOST cryptographic functions library. package gogost -const Version = "5.7.0" +const Version = "5.7.1" diff --git a/gost3410/public.go b/gost3410/public.go index 144d2f0fe542cbcd23f460dbeb68ea3797747988db47c2b2a789476a49b718c0..077c04e0f62d736b4fd2496327fafaf4665792d69b06700681638bef6bd6e92f 100644 --- a/gost3410/public.go +++ b/gost3410/public.go @@ -114,5 +114,5 @@ their, ok := theirKey.(*PublicKey) if !ok { return false } - return our.X.Cmp(their.X) == 0 && our.X.Cmp(their.Y) == 0 && our.C.Equal(their.C) + return our.X.Cmp(their.X) == 0 && our.Y.Cmp(their.Y) == 0 && our.C.Equal(their.C) }