Commit 2a82f7b5 authored by elcore's avatar elcore

Faster tests

parent 462128cd
...@@ -17,7 +17,7 @@ func TestSaveAndLoadRSAPrivateKey(t *testing.T) { ...@@ -17,7 +17,7 @@ func TestSaveAndLoadRSAPrivateKey(t *testing.T) {
keyFile := "test.key" keyFile := "test.key"
defer os.Remove(keyFile) defer os.Remove(keyFile)
privateKey, err := rsa.GenerateKey(rand.Reader, 2048) privateKey, err := rsa.GenerateKey(rand.Reader, 128) // make tests faster; small key size OK for testing
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment