From 27c0c5263bff020b7d1fa750335b018c1b9b1cce Mon Sep 17 00:00:00 2001 From: Camille Mougey Date: Fri, 2 Aug 2024 11:32:07 +0200 Subject: [PATCH] bindings/C/tests: update error code --- bindings/C/tests/linux-gcc-g++/create_fail_no_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/C/tests/linux-gcc-g++/create_fail_no_key.c b/bindings/C/tests/linux-gcc-g++/create_fail_no_key.c index ed004cec..e9213351 100644 --- a/bindings/C/tests/linux-gcc-g++/create_fail_no_key.c +++ b/bindings/C/tests/linux-gcc-g++/create_fail_no_key.c @@ -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;