projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5519b23
)
Try to make crypo_test more likely to pass.
author
Carl Hetherington
<cth@carlh.net>
Sun, 4 Oct 2020 22:26:25 +0000
(
00:26
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000
(18:51 +0200)
test/crypto_test.cc
patch
|
blob
|
history
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);
}