Merge pull request #68 from fluxcd/sort-ecdsa-curves

Sort supported ECDSA curves names
This commit is contained in:
Hidde Beydals 2020-06-25 18:03:29 +02:00 committed by GitHub
commit 5499d15402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ package main
import (
"crypto/elliptic"
"fmt"
"sort"
"strconv"
"strings"
)
@ -124,5 +125,6 @@ func ecdsaCurves() []string {
for k := range supportedECDSACurves {
keys = append(keys, k)
}
sort.Strings(keys)
return keys
}