diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-05 00:26:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | 1f389ddcb8e5ae66b5b12afd12da136eff5624d4 (patch) | |
| tree | fdc12cd20245306cafb79c94fc3a8e60414c34b7 | |
| parent | 5519b2386cf8a612f0b682d2aec2bcd4a906005c (diff) | |
Try to make crypo_test more likely to pass.
| -rw-r--r-- | test/crypto_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |
