summaryrefslogtreecommitdiffhomepage
path: root/modules/caddypki/certificates.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddypki/certificates.go')
-rw-r--r--modules/caddypki/certificates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddypki/certificates.go b/modules/caddypki/certificates.go
index bd260da6b..442a0ad6d 100644
--- a/modules/caddypki/certificates.go
+++ b/modules/caddypki/certificates.go
@@ -22,7 +22,7 @@ import (
"github.com/smallstep/cli/crypto/x509util"
)
-func generateRoot(commonName string) (rootCrt *x509.Certificate, privateKey interface{}, err error) {
+func generateRoot(commonName string) (rootCrt *x509.Certificate, privateKey any, err error) {
rootProfile, err := x509util.NewRootProfile(commonName)
if err != nil {
return