File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ func (m *TLSClientAuth) Unpack(in interface{}) error {
231
231
case uint64 :
232
232
* m = TLSClientAuth (o ) //nolint:gosec // o is much smaller than max int
233
233
case int64 : // underlying type is int so we need both uint64 and int64 as options for TLSClientAuth
234
- * m = TLSClientAuth (o ) //nolint:gosec // o is much smaller than max int
234
+ * m = TLSClientAuth (o )
235
235
default :
236
236
return fmt .Errorf ("client auth mode is an unknown type: %T" , o )
237
237
}
@@ -320,7 +320,7 @@ func (r *TLSRenegotiationSupport) Unpack(i interface{}) error {
320
320
321
321
* r = t
322
322
case int64 :
323
- * r = TLSRenegotiationSupport (o ) //nolint:gosec // o is much smaller than max int
323
+ * r = TLSRenegotiationSupport (o )
324
324
case uint64 :
325
325
* r = TLSRenegotiationSupport (o ) //nolint:gosec // o is much smaller than max int
326
326
default :
You can’t perform that action at this time.
0 commit comments