Skip to content

Commit

Permalink
request ids do not need cryptographic security
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Feb 6, 2024
1 parent b0ec70c commit e142d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewConnection(pool *Pool) *Connection {
status: CONNECTING,
setStatus: make(chan int),
getStatus: make(chan int),
id: strconv.Itoa(rand.Intn(899) + 100), //nolint:gomnd
id: strconv.Itoa(rand.Intn(899) + 100), //nolint:gomnd,gosec
}
}

Expand Down

0 comments on commit e142d66

Please sign in to comment.