Patches (falsify/run.sh), each failing the corpus cases it names: bytes-unchecked, decision-unchecked, recovery-record-unchecked, operating-point-unchecked, session-accepted, declaration-unnamed, first-publisher, matchers-need-object and set-sha-faults; claim-through-any-receipt, fetch-unmemoised, fetch-budget-unchecked and file-cap-unchecked regenerated against the new receipts.rs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17 lines
961 B
Diff
17 lines
961 B
Diff
# must fail: receipts_lawful_basis receipts_lawful_basis_declaration_not_served receipts_lawful_basis_declaration_renamed
|
|
# a lawful-basis decision accepted without its declaration (receipts::step6)
|
|
diff --git a/wai/wai-rs/src/http_binding/receipts.rs b/wai/wai-rs/src/http_binding/receipts.rs
|
|
index 83cd7ccb..d8cdcc81 100644
|
|
--- a/wai/wai-rs/src/http_binding/receipts.rs
|
|
+++ b/wai/wai-rs/src/http_binding/receipts.rs
|
|
@@ -654,8 +654,8 @@ fn step6(
|
|
}
|
|
// §2.4.6: against the declaration it names, fetched by its link.
|
|
ClaimBody::LawfulBasis(LawfulBasisClaim::Decision { declaration, .. }) => {
|
|
- let d = declaration_of(declaration, fetch)?;
|
|
- claim.check_decision_against(&d).map_err(c)
|
|
+ let _ = (declaration, &fetch);
|
|
+ Ok(())
|
|
}
|
|
// §2.6.3: against its declaration together with the publisher key of a verified
|
|
// delivery receipt for the declaration's subject.
|