Skip to content

Commit 1f32db1

Browse files
author
Daisuke Maki
committed
refuse to remove block
1 parent 23f03de commit 1f32db1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jwk/ecdsa.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ func ecdsaJWKToRaw(keyif Key, hint interface{}) (interface{}, error) {
150150
isECDH = true
151151
default:
152152
rv := reflect.ValueOf(hint)
153+
//nolint:revive
153154
if rv.Kind() == reflect.Ptr && rv.Elem().Kind() == reflect.Interface {
154155
// pointer to an interface value, presumably they want us to dynamically
155156
// create an object of the right type
@@ -178,6 +179,7 @@ func ecdsaJWKToRaw(keyif Key, hint interface{}) (interface{}, error) {
178179
isECDH = true
179180
default:
180181
rv := reflect.ValueOf(hint)
182+
//nolint:review
181183
if rv.Kind() == reflect.Ptr && rv.Elem().Kind() == reflect.Interface {
182184
// pointer to an interface value, presumably they want us to dynamically
183185
// create an object of the right type

0 commit comments

Comments
 (0)