Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we really use thread_rng everywhere #341

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

gferon
Copy link
Collaborator

@gferon gferon commented Nov 1, 2024

We already rely on rand::thread_rng everywhere in libsignal-service-rs but the ServiceCipher and MessageSender still kept this parameters from a while ago, when we wanted to be able to configure those (I think?).

We already rely on rand::thread_rng everywhere in libsignal-service-rs but the ServiceCipher and MessageSender inherited the parameter from a while ago.
@gferon gferon requested a review from rubdos November 1, 2024 20:27
@rubdos
Copy link
Member

rubdos commented Nov 2, 2024

For me, it's fine to use thread_rng, especially since we dropped the crate split too.

@gferon gferon merged commit b0fcd8b into main Nov 2, 2024
7 checks passed
@gferon gferon deleted the use-thread-rng-everywhere branch November 2, 2024 16:09
gferon added a commit that referenced this pull request Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants