chore(lint): fix issues

- sources/env: remove unused `envToInt`
- fix `ireturn` error for `newCipherDESCBCBlock`
This commit is contained in:
Quentin McGaw
2023-04-22 08:13:09 +00:00
parent 9d4105ee59
commit 1693c59e0d
3 changed files with 5 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ func init() { //nolint:gochecknoinits
pkcs8lib.RegisterCipher(oidDESCBC, newCipherDESCBCBlock)
}
func newCipherDESCBCBlock() pkcs8lib.Cipher { //nolint:ireturn
func newCipherDESCBCBlock() pkcs8lib.Cipher {
return cipherDESCBC{}
}