randomize mqtt client id with math/rand
Cryptographic randomizer is not required for mqtt clientIds. They should be unique only among currently selected clients.
This commit is contained in:
parent
c3b9a689bb
commit
6b82fd94eb
@ -3,7 +3,7 @@ package endpoint
|
||||
import (
|
||||
"crypto/tls"
|
||||
"crypto/x509"
|
||||
"crypto/rand"
|
||||
"math/rand"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"sync"
|
||||
|
Loading…
x
Reference in New Issue
Block a user