commit | d5f590f955a67715e7903a04c3a8028f1d4f2664 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Aug 07 14:18:09 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Aug 09 17:30:36 2018 +0000 |
tree | 833681703ede0ed89b11aa70621d3552bb4e676e | |
parent | cbe51498953d7bd29f516cdfcdb654706b463d2e [diff] [blame] |
flash-ipmi: implement flashHashFinish Change-Id: I44ff6494064c11071cc9e71402e5eebab8a6a1de Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/flash-ipmi.cpp b/flash-ipmi.cpp index 8fc9a52..dda9580 100644 --- a/flash-ipmi.cpp +++ b/flash-ipmi.cpp
@@ -176,7 +176,12 @@ bool FlashUpdate::hashFinish() { - /* TODO: implement. */ + if (hashFd) + { + closeFile(&hashFd); + return true; + } + return false; }