Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
labbott committed Aug 5, 2024
1 parent 68261bf commit a2b03be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ impl PkiPathSignatureVerifier {
pub fn verify_signature(
alias: &Certificate,
hash: &[u8],
signature: &[u8; 64],
signature: &[u8],
) -> Result<()> {
use ed25519_dalek::{Signature, Verifier, VerifyingKey};

let signature = Signature::from_bytes(signature);
let signature = Signature::from_slice(signature)?;

let alias = alias
.tbs_certificate
Expand Down

0 comments on commit a2b03be

Please sign in to comment.