1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Sort supported ECDSA curves names

To ensure options are always printed in the same order.
This commit is contained in:
Hidde Beydals
2020-06-25 17:53:41 +02:00
parent 1f99a75049
commit d7f8a05612

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
}