Skip to content

Commit

Permalink
NFC: Tests: Address clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Oct 2, 2023
1 parent 1a5ad00 commit edf5830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ed25519_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ fn ed25519_test_generate_pkcs8() {
let generated = signature::Ed25519KeyPair::generate_pkcs8(&rng).unwrap();
let generated = generated.as_ref();

let _ronudtripped = signature::Ed25519KeyPair::from_pkcs8(generated.as_ref()).unwrap();
let _ronudtripped = signature::Ed25519KeyPair::from_pkcs8(generated).unwrap();

// Regression test: Verify we're generating the correct encoding, as
// `Ed25519KeyPair::from_pkcs8` also accepts our old wrong encoding.
Expand Down

0 comments on commit edf5830

Please sign in to comment.