Commit a95f9268 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[auth] Simplify tests for private keys

parent 890b5d85
Pipeline #13 passed with stage
......@@ -8,14 +8,14 @@ import (
)
func TestGeneratePrivateKey(t *testing.T) {
_, err := GeneratePrivateKey(1024)
_, err := GeneratePrivateKey(512)
if err != nil {
t.Fatal(err)
}
if !testing.Short() {
_, err = GeneratePrivateKey(4096)
_, err = GeneratePrivateKey(2048)
if err != nil {
t.Fatal(err)
}
......
Supports Markdown
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