remove unneeded Into invocation

This commit is contained in:
conduition 2024-03-16 04:38:10 +00:00 committed by zebra-lucky
parent c1b8663acb
commit 8f5264685b
1 changed files with 0 additions and 1 deletions

View File

@ -264,7 +264,6 @@ pub trait Ciphersuite: Copy + Clone + PartialEq + Debug {
signature: &Signature<Self>,
public_key: &VerifyingKey<Self>,
) -> Result<(), Error<Self>> {
let sig_target = sig_target.into();
let c = <Self>::challenge(&signature.R, public_key, sig_target);
public_key.verify_prehashed(c, signature, &sig_target.sig_params)