summaryrefslogtreecommitdiffstats
path: root/routers/api/packages/chef/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/chef/auth.go')
-rw-r--r--routers/api/packages/chef/auth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/api/packages/chef/auth.go b/routers/api/packages/chef/auth.go
index 69f7b763ab..1ea453f1f4 100644
--- a/routers/api/packages/chef/auth.go
+++ b/routers/api/packages/chef/auth.go
@@ -7,7 +7,6 @@ import (
"crypto"
"crypto/rsa"
"crypto/sha1"
- "crypto/sha256"
"crypto/x509"
"encoding/base64"
"encoding/pem"
@@ -25,6 +24,8 @@ import (
chef_module "code.gitea.io/gitea/modules/packages/chef"
"code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/services/auth"
+
+ "github.com/minio/sha256-simd"
)
const (