add proper comment for function
This commit is contained in:
parent
dfa8c8a384
commit
018086528a
|
@ -52,6 +52,7 @@ func TestEcdsaFunctions(t *testing.T) {
|
||||||
RunPrivateKeyTests("ecdsa", pk, t)
|
RunPrivateKeyTests("ecdsa", pk, t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// test rsa private key functions
|
||||||
func TestRsaFunctions(t *testing.T) {
|
func TestRsaFunctions(t *testing.T) {
|
||||||
pk, err := NewPrivateKeyRsa(2048)
|
pk, err := NewPrivateKeyRsa(2048)
|
||||||
if err != nil { t.Errorf("rsa: creating private key failed: %s", err) }
|
if err != nil { t.Errorf("rsa: creating private key failed: %s", err) }
|
||||||
|
|
Loading…
Reference in New Issue