Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed May 27, 2024
1 parent a1aad3b commit 3e1758f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certora/specs/WebAuthn.spec
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ rule castSignatureUniqueness(){

secondIsValid, secondData = castSignature(e, signature2);

assert (getSha256(e, signature1) != getSha256(e, signature2)) &&
((firstIsValid && secondIsValid)) => !compareSignatures(e, firstData, secondData);
assert ((getSha256(e, signature1) != getSha256(e, signature2)) &&
((firstIsValid && secondIsValid))) => !compareSignatures(e, firstData, secondData);
}

0 comments on commit 3e1758f

Please sign in to comment.