Merge branch 'main' of gitlab.com:veilid/veilid into windows-fix
This commit is contained in:
commit
d0fabbe3d9
@ -229,7 +229,7 @@ impl CryptoSystem for CryptoSystemVLD0 {
|
|||||||
let mut dig = Blake3Digest512::new();
|
let mut dig = Blake3Digest512::new();
|
||||||
dig.update(data);
|
dig.update(data);
|
||||||
|
|
||||||
pk.verify_prehashed(dig, None, &sig)
|
pk.verify_prehashed_strict(dig, None, &sig)
|
||||||
.map_err(|e| VeilidAPIError::parse_error("Verification failed", e))?;
|
.map_err(|e| VeilidAPIError::parse_error("Verification failed", e))?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user