diff options
| author | Shulhan <ms@kilabit.info> | 2019-03-04 16:43:36 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-03-04 17:00:44 +0700 |
| commit | d3ab01960e1c1bbf796c84bb16843a5ad0353fb5 (patch) | |
| tree | 81a484ac978330a76353718a89628d5dbec569e1 /lib/websocket/funcs.go | |
| parent | bba0d6219711c8d75976392e1c1fc5435b6863cf (diff) | |
| download | pakakeh.go-d3ab01960e1c1bbf796c84bb16843a5ad0353fb5.tar.xz | |
websocket: suppress gosec linter warning on package "crypto/sha1"
Package sha1 is required to generate handshake key per specification.
Diffstat (limited to 'lib/websocket/funcs.go')
| -rw-r--r-- | lib/websocket/funcs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/websocket/funcs.go b/lib/websocket/funcs.go index 04d17a48..adf1423d 100644 --- a/lib/websocket/funcs.go +++ b/lib/websocket/funcs.go @@ -6,7 +6,7 @@ package websocket import ( "bytes" - "crypto/sha1" + "crypto/sha1" //nolint: gosec "encoding/base64" "encoding/binary" "math/rand" |
