use ipmiblob library from ipmi-blob-tool
Drop all code that is now handled by the ipmiblob library provided by
the new ipmi-blob-tool. This is a library that can be included on the
BMC if necessary, but relies on nothing that is strictly meant for the
BMC.
Change-Id: I2b02ae0d432e84c08e598d27eef85b57c06a70fc
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 6115302..bd071ae 100644
--- a/main.cpp
+++ b/main.cpp
@@ -48,17 +48,16 @@
/* on failure rc is set to the corresponding IPMI error. */
ipmi_ret_t rc = IPMI_CC_OK;
- Crc16 crc;
IpmiBlobHandler command =
- validateBlobCommand(&crc, reqBuf, replyCmdBuf, dataLen, &rc);
+ validateBlobCommand(reqBuf, replyCmdBuf, dataLen, &rc);
if (command == nullptr)
{
(*dataLen) = 0;
return rc;
}
- return processBlobCommand(command, getBlobManager(), &crc, reqBuf,
- replyCmdBuf, dataLen);
+ return processBlobCommand(command, getBlobManager(), reqBuf, replyCmdBuf,
+ dataLen);
}
void setupBlobGlobalHandler() __attribute__((constructor));