Skip to content

Remove use of rand.Seed#2918

Merged
AlCutter merged 1 commit intogoogle:masterfrom
AlCutter:well_that_was_random
Feb 21, 2023
Merged

Remove use of rand.Seed#2918
AlCutter merged 1 commit intogoogle:masterfrom
AlCutter:well_that_was_random

Conversation

@AlCutter
Copy link
Copy Markdown
Member

rand.Seed is deprecated as of go1.20, but I also suspect that setting this seed didn't do what it was intended to; it's likely this was intended to control the pseudo random data producing the certs to be logged in the integration test, but that uses crypto/rand internally which is unaffected by the seed in math/rand.

Checklist

@AlCutter AlCutter requested a review from roger2hk February 21, 2023 12:06
@AlCutter AlCutter requested a review from a team as a code owner February 21, 2023 12:06
@AlCutter AlCutter merged commit 710a1e1 into google:master Feb 21, 2023
@AlCutter AlCutter deleted the well_that_was_random branch February 21, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants