0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00

Merge pull request #715 from mholt/elcore-faster-tests

https: Faster tests
This commit is contained in:
Matt Holt 2016-04-03 14:33:03 -06:00
commit 25b567b301

View file

@ -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)
}