summaryrefslogtreecommitdiff
path: root/tests/vb2_rsa_utility_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vb2_rsa_utility_tests.c')
-rw-r--r--tests/vb2_rsa_utility_tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vb2_rsa_utility_tests.c b/tests/vb2_rsa_utility_tests.c
index df3eb37a..2a74f35e 100644
--- a/tests/vb2_rsa_utility_tests.c
+++ b/tests/vb2_rsa_utility_tests.c
@@ -72,7 +72,8 @@ static void test_utils(void)
/* Test padding check with bad algorithm */
Memcpy(sig, signatures[0], sizeof(sig));
TEST_EQ(vb2_check_padding(sig, VB2_ALG_COUNT),
- VB2_ERROR_BAD_ALGORITHM, "vb2_check_padding() bad alg");
+ VB2_ERROR_RSA_PADDING_ALGORITHM,
+ "vb2_check_padding() bad alg");
/* Test safe memcmp */
TEST_EQ(vb2_safe_memcmp("foo", "foo", 3), 0, "vb2_safe_memcmp() good");