projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to make crypo_test more likely to pass.
[dcpomatic.git]
/
test
/
crypto_test.cc
diff --git
a/test/crypto_test.cc
b/test/crypto_test.cc
index d96deafa4e023258afea0be39fe678a447db2792..e1069b42fa155f63c1a9daffeb9642e3afaad157 100644
(file)
--- 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);
}