Skip to content

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

Merged
tarcieri merged 1 commit intomasterfrom
ssh-key/use-cryptorngcore
Mar 5, 2023
Merged

ssh-key: use &mut impl CryptoRngCore for RNGs#67
tarcieri merged 1 commit intomasterfrom
ssh-key/use-cryptorngcore

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