bios_table: Remove pldm_bios_table_append_pad_checksum()
pldm_bios_table_append_pad_checksum() was deprecated in v0.4.0, remove
it now.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I5b0d5abdb32b3c814ff86a85492dce754b36b1e0
diff --git a/tests/libpldm_bios_table_test.cpp b/tests/libpldm_bios_table_test.cpp
index 902d024..83e7fd9 100644
--- a/tests/libpldm_bios_table_test.cpp
+++ b/tests/libpldm_bios_table_test.cpp
@@ -1136,8 +1136,9 @@
auto sizeWithoutPad = attrValTable.size();
attrValTable.resize(sizeWithoutPad +
pldm_bios_table_pad_checksum_size(sizeWithoutPad));
- pldm_bios_table_append_pad_checksum(attrValTable.data(),
- attrValTable.size(), sizeWithoutPad);
+ ASSERT_EQ(pldm_bios_table_append_pad_checksum_check(
+ attrValTable.data(), attrValTable.size(), &sizeWithoutPad),
+ PLDM_SUCCESS);
Table expectedTable = {0x09, 0x00, 0x01, 0x02, 0x00, 0x65,
0x66, 0x00, 0x6d, 0x81, 0x4a, 0xb6};
EXPECT_EQ(attrValTable, expectedTable);