// 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
rand.Read(prvRaw)
prv, err := NewPrivateKey(CurveIdGostR34102001TestParamSet(), prvRaw)
if err != nil {
- t.FailNow()
+ t.Fatal(err)
}
var _ crypto.Signer = prv
}