X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;ds=sidebyside;f=gost3410%2Fpublic.go;h=3bef45f70ef798287edf4b23654e09d2103a730b;hb=f17daeb600c11ad0f3b1e80ac800da82d4a926ca;hp=8642a274bbceb0b19046bcdc72c6062339b2ed81;hpb=0a90036399035f4b8f3815019b4f33ac7e77d955;p=gogost.git diff --git a/gost3410/public.go b/gost3410/public.go index 8642a27..3bef45f 100644 --- a/gost3410/public.go +++ b/gost3410/public.go @@ -114,5 +114,5 @@ func (our *PublicKey) Equal(theirKey crypto.PublicKey) bool { 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) }