Fix lint issue with Go 1.20
This commit is contained in:
parent
6ba20209c2
commit
da95c44943
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ var (
|
||||||
func init() {
|
func init() {
|
||||||
step.Set("Smallstep CA", Version, BuildTime)
|
step.Set("Smallstep CA", Version, BuildTime)
|
||||||
authority.GlobalVersion.Version = Version
|
authority.GlobalVersion.Version = Version
|
||||||
|
//nolint:staticcheck // deprecated in Go 1.20
|
||||||
rand.Seed(time.Now().UnixNano())
|
rand.Seed(time.Now().UnixNano())
|
||||||
// Add support for asking passwords
|
// Add support for asking passwords
|
||||||
pemutil.PromptPassword = func(msg string) ([]byte, error) {
|
pemutil.PromptPassword = func(msg string) ([]byte, error) {
|
||||||
|
|
Loading…
Reference in a new issue