1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-22 20:29:17 -04:00

fix some lint errors

This commit is contained in:
Darien Raymond
2018-07-19 13:31:57 +02:00
parent 2858b769dd
commit e3cc12995f
3 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ func (a *Authentication) ApplySecret(b []byte) {
func generateRandomBytes(random []byte) {
for {
common.Must2(rand.Read(random[:]))
common.Must2(rand.Read(random))
if random[0] == 0xef {
continue