From 158b29672a17c1d11e182f0285e0009dd39e5204 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Fri, 3 Jun 2016 14:00:27 -0700 Subject: futility: cmd_show uses only vboot 2.0 APIs This removes the remaining vboot 1.0 API calls from cmd_show. BUG=chromium:611535 BRANCH=none TEST=make runtests Change-Id: I03c4260aa034100efbbea1005367cd85dfff273d Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/350173 Reviewed-by: Daisuke Nojiri --- tests/vb20_common3_tests.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/vb20_common3_tests.c') diff --git a/tests/vb20_common3_tests.c b/tests/vb20_common3_tests.c index 0e135bda..95207382 100644 --- a/tests/vb20_common3_tests.c +++ b/tests/vb20_common3_tests.c @@ -425,13 +425,6 @@ static void test_verify_kernel_preamble(const VbPublicKey *public_key, TEST_SUCC(vb2_verify_kernel_preamble(h, hsize, &rsa, &wb), "vb2_verify_kernel_preamble() minor++"); - Memcpy(h, hdr, hsize); - h->header_version_minor--; - resign_kernel_preamble(h, private_key); - TEST_EQ(vb2_verify_kernel_preamble(h, hsize, &rsa, &wb), - VB2_ERROR_PREAMBLE_HEADER_OLD, - "vb2_verify_kernel_preamble() 2.1 not supported"); - /* Check signature */ Memcpy(h, hdr, hsize); h->preamble_signature.sig_offset = hsize; -- cgit v1.2.1