Stop the Windows version of run_ffprobe manipulating the current working directory...
[dcpomatic.git] / test / crypto_test.cc
index 586535dfe3568332706485615cb5a798b470f0e4..e1069b42fa155f63c1a9daffeb9642e3afaad157 100644 (file)
@@ -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);
 }