X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fcrypto_test.cc;h=e1069b42fa155f63c1a9daffeb9642e3afaad157;hb=a1d3a73736ff2a171ab1160dedf4faea40454bea;hp=586535dfe3568332706485615cb5a798b470f0e4;hpb=3526252ff2fd80a459c72ab1c55ea5a6ee61aa2f;p=dcpomatic.git diff --git a/test/crypto_test.cc b/test/crypto_test.cc index 586535dfe..e1069b42f 100644 --- a/test/crypto_test.cc +++ b/test/crypto_test.cc @@ -26,7 +26,6 @@ using std::string; using std::list; -using boost::shared_array; BOOST_AUTO_TEST_CASE (crypto_test) { @@ -39,6 +38,7 @@ BOOST_AUTO_TEST_CASE (crypto_test) BOOST_REQUIRE_EQUAL (dcpomatic::decrypt (ciphertext, key, iv), "Can you see any fish?"); key.data()[5]++; + key.data()[6]++; BOOST_REQUIRE_THROW (dcpomatic::decrypt (ciphertext, key, iv), CryptoError); }