Merge branch 'main' of gitlab.com:veilid/veilid into windows-fix

This commit is contained in:
John Smith 2023-08-20 11:25:39 -04:00
commit d0fabbe3d9

View File

@ -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(())
} }