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

Sort supported ECDSA curves names
pull/67/head
Hidde Beydals 5 years ago committed by GitHub
commit 5499d15402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save