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 /aes | |
| 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 'aes')
| -rw-r--r-- | aes/src/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aes/src/error.c b/aes/src/error.c index 783a5ce..6a7a2c1 100644 --- a/aes/src/error.c +++ b/aes/src/error.c @@ -56,6 +56,7 @@ static const char* aes_strerror_messages[] = { "Not implemented", "Missing padding", "Couldn't allocate memory", + "Encryption mode requires init vector", }; const char* aes_strerror(AES_StatusCode ec) { @@ -133,6 +134,7 @@ static AES_ErrorFormatter err_formatters[] = { &aes_format_not_implemented_error, &aes_format_error_strerror, &aes_format_error_strerror, + &aes_format_error_strerror, }; size_t aes_format_error(const AES_ErrorDetails* err_details, char* dest, size_t dest_size) { |
