diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-23 12:08:59 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-23 12:16:29 +0200 |
| commit | a47064bbb40fd28c9500567ead28b8fbaa9c6f1b (patch) | |
| tree | db8a6f63db3c4ff5a9f963242ae852567f4c9664 /aesxx/utils/test | |
| parent | aesxx/utils: add more basic tests (diff) | |
| download | aes-tools-a47064bbb40fd28c9500567ead28b8fbaa9c6f1b.tar.gz aes-tools-a47064bbb40fd28c9500567ead28b8fbaa9c6f1b.zip | |
aes/error: fix missing error message
Diffstat (limited to 'aesxx/utils/test')
| -rw-r--r-- | aesxx/utils/test/basic.cmake | 2 |
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 ) |
