aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aesxx/utils/test/basic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'aesxx/utils/test/basic.cmake')
-rw-r--r--aesxx/utils/test/basic.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/aesxx/utils/test/basic.cmake b/aesxx/utils/test/basic.cmake
index aabd57b..b8df5a3 100644
--- a/aesxx/utils/test/basic.cmake
+++ b/aesxx/utils/test/basic.cmake
@@ -125,6 +125,8 @@ foreach(action encrypt decrypt)
add_test(NAME "${tgt}_no_iv" COMMAND Python3::Interpreter
"${CMAKE_SOURCE_DIR}/cmake/tools/ctest-driver.py"
run
+ --exit-code 1
+ --pass-regex [=[AES error: Encryption mode requires init vector]=]
--
"$<TARGET_FILE:${tgt}>" -a aes128 -m cbc -k 11111111111111111111111111111111 -i in.txt -o out.txt
)