]> Cypherpunks.ru repositories - gogost.git/blobdiff - gost3410/private_test.go
gost3410.Public/Private keys BE/LE marshalling
[gogost.git] / gost3410 / private_test.go
index 6b2b801f113cc0e0e7c38f6c76a40dffbd449eb0..924cad8442183e7378685e14b4da8c87bfb1eae1 100644 (file)
@@ -1,5 +1,5 @@
 // GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2022 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2023 Sergey Matveev <stargrave@stargrave.org>
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ func TestSignerInterface(t *testing.T) {
        rand.Read(prvRaw)
        prv, err := NewPrivateKey(CurveIdGostR34102001TestParamSet(), prvRaw)
        if err != nil {
-               t.FailNow()
+               t.Fatal(err)
        }
        var _ crypto.Signer = prv
 }