Skip to content

Commit

Permalink
bindings/C/tests: update error code
Browse files Browse the repository at this point in the history
  • Loading branch information
commial committed Aug 2, 2024
1 parent 3b819c7 commit 27c0c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/C/tests/linux-gcc-g++/create_fail_no_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int main()

MLAArchiveHandle hArchive = NULL;
status = mla_archive_new(&hConfig, &callback_write, &callback_flush, f, &hArchive);
if (status != MLA_STATUS(MLA_STATUS_CONFIG_ERROR_ENCRYPTION_KEY_IS_MISSING))
if (status != MLA_STATUS(MLA_STATUS_CONFIG_ERROR_NO_RECIPIENTS))
{
fprintf(stderr, " [!] Archive creation did not fail, status %" PRIX64 "\n", (uint64_t)status);
return (int)status;
Expand Down

0 comments on commit 27c0c52

Please sign in to comment.