Skip to content

Commit

Permalink
assert() demo
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Mar 5, 2024
1 parent 301d7cb commit 14ab928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/libfc/test/crypto/test_webauthn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ BOOST_AUTO_TEST_CASE(good) try {

std::vector<uint8_t> auth_data(37);

assert(!"💥");

memcpy(auth_data.data(), origin_hash.data(), sizeof(origin_hash));

BOOST_CHECK_EQUAL(wa_pub, make_webauthn_sig(priv, auth_data, json).recover(d, true));
Expand Down

0 comments on commit 14ab928

Please sign in to comment.