Remove deprecated call to rand.Seed

This commit is contained in:
Matthew Holt 2024-04-08 12:41:42 -06:00
parent 98d2930e1d
commit 28e3a67376
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5

View File

@ -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.