Remove deprecated call to rand.Seed
This commit is contained in:
parent
98d2930e1d
commit
28e3a67376
@ -18,7 +18,6 @@ import (
|
||||
"context"
|
||||
"crypto/x509"
|
||||
"fmt"
|
||||
weakrand "math/rand"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
@ -32,10 +31,6 @@ import (
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func init() {
|
||||
weakrand.Seed(time.Now().UnixNano())
|
||||
}
|
||||
|
||||
// acmeClient holds state necessary to perform ACME operations
|
||||
// for certificate management with an ACME account. Call
|
||||
// ACMEIssuer.newACMEClientWithAccount() to get a valid one.
|
||||
|
Loading…
Reference in New Issue
Block a user