Skip to content

Commit 2a07e60

Browse files
committed
make updated version of the linter happy
1 parent 70306c4 commit 2a07e60

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

MODULE.bazel

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ go_deps.module(
4444
sum = "h1:DND6MzU+BLABhOZXbELR3FU8b+zDgcq4dOCNLhiTYuI=",
4545
version = "v0.0.3",
4646
)
47+
go_deps.module(
48+
path = "github.com/kisielk/gotool",
49+
sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=",
50+
version = "v1.0.0",
51+
)
4752
go_deps.module(
4853
path = "github.com/Oncilla/ineffassign",
4954
sum = "h1:zrpB8NIzy1hkO1dz2S+YWiOymA/2kL3Rk24uDg8DVUM=",
@@ -75,6 +80,7 @@ use_repo(
7580
"com_github_grpc_ecosystem_grpc_opentracing",
7681
"com_github_hashicorp_golang_lru_arc_v2",
7782
"com_github_iancoleman_strcase",
83+
"com_github_kisielk_gotool",
7884
"com_github_lestrrat_go_jwx",
7985
"com_github_mattn_go_isatty",
8086
"com_github_mattn_go_sqlite3",

pkg/scrypto/cms/protocol/protocol.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"crypto/ecdsa"
88
"crypto/elliptic"
99
"crypto/rand"
10+
_ "crypto/sha1" // for crypto.SHA1
1011
"crypto/x509"
1112
"crypto/x509/pkix"
1213
"encoding/asn1"
@@ -16,8 +17,6 @@ import (
1617
"sort"
1718
"time"
1819

19-
_ "crypto/sha1" // for crypto.SHA1
20-
2120
"github.com/scionproto/scion/pkg/scrypto/cms/oid"
2221
)
2322

0 commit comments

Comments
 (0)