Skip to content
Snippets Groups Projects
Commit a95f9268 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[auth] Simplify tests for private keys

parent 890b5d85
No related branches found
No related tags found
1 merge request!3Add crypto library and CI
Pipeline #
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment