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:
Plamen Todorov 2019-10-08 20:24:31 +03:00
parent c3b9a689bb
commit 6b82fd94eb
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ package endpoint
import (
"crypto/tls"
"crypto/x509"
"crypto/rand"
"math/rand"
"fmt"
"io/ioutil"
"sync"