pldm: Migrate to pldm_edac_crc32()
crc32 is deprecated in the libpldm API due to a lack of a common symbol
prefix. Migrate to pldm_edac_crc32().
Change-Id: I7336267c2325d72b9d0666e0222a591d1468ded4
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/oem/ibm/libpldmresponder/file_table.cpp b/oem/ibm/libpldmresponder/file_table.cpp
index d91c482..402934b 100644
--- a/oem/ibm/libpldmresponder/file_table.cpp
+++ b/oem/ibm/libpldmresponder/file_table.cpp
@@ -116,7 +116,7 @@
}
// Calculate the checksum
- checkSum = crc32(fileTable.data(), fileTable.size());
+ checkSum = pldm_edac_crc32(fileTable.data(), fileTable.size());
}
Table FileTable::operator()() const