mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Fix lint issue with Go 1.20
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user