Fix lint issue with Go 1.20

pull/1265/head
Mariano Cano 1 year ago
parent 6ba20209c2
commit da95c44943
No known key found for this signature in database

@ -52,6 +52,7 @@ var (
func init() {
step.Set("Smallstep CA", Version, BuildTime)
authority.GlobalVersion.Version = Version
//nolint:staticcheck // deprecated in Go 1.20
rand.Seed(time.Now().UnixNano())
// Add support for asking passwords
pemutil.PromptPassword = func(msg string) ([]byte, error) {

Loading…
Cancel
Save