From: Carl Hetherington Date: Sun, 4 Oct 2020 22:26:25 +0000 (+0200) Subject: Try to make crypo_test more likely to pass. X-Git-Tag: v2.15.104~42 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=1f389ddcb8e5ae66b5b12afd12da136eff5624d4 Try to make crypo_test more likely to pass. --- diff --git a/test/crypto_test.cc b/test/crypto_test.cc index d96deafa4..e1069b42f 100644 --- a/test/crypto_test.cc +++ b/test/crypto_test.cc @@ -38,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); }