Skip to content

ssh-key: use &mut impl CryptoRngCore for RNGs #67

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

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Mar 5, 2023

Alias added in rand_core v0.6.4 with a blanket impl for CryptoRng + RngCore.

Using a mut reference avoids reborrowing.

For more context, see RustCrypto/traits#1148.

Alias added in `rand_core` v0.6.4 with a blanket impl for
`CryptoRng + RngCore`.

Using a mut reference avoids reborrowing.

For more context, see RustCrypto/traits#1148.
@tarcieri tarcieri merged commit a593e51 into master Mar 5, 2023
@tarcieri tarcieri deleted the ssh-key/use-cryptorngcore branch March 5, 2023 19:01
@tarcieri tarcieri mentioned this pull request Aug 13, 2023
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.

1 participant