From 2a82f7b520fbc8c8c17467ce3b15282262d9ea44 Mon Sep 17 00:00:00 2001 From: elcore Date: Sun, 3 Apr 2016 20:06:21 +0200 Subject: [PATCH] Faster tests --- caddy/https/crypto_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy/https/crypto_test.go b/caddy/https/crypto_test.go index 07d2af5c..f61669d7 100644 --- a/caddy/https/crypto_test.go +++ b/caddy/https/crypto_test.go @@ -17,7 +17,7 @@ func TestSaveAndLoadRSAPrivateKey(t *testing.T) { keyFile := "test.key" 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 { t.Fatal(err) }