Skip to content

Commit

Permalink
Remove deprecated call to rand.Seed
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Apr 8, 2024
1 parent 98d2930 commit 28e3a67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions acmeclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"context"
"crypto/x509"
"fmt"
weakrand "math/rand"
"net"
"net/http"
"net/url"
Expand All @@ -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.
Expand Down

0 comments on commit 28e3a67

Please sign in to comment.