summaryrefslogtreecommitdiffstats
path: root/image_verify.cpp
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-06-20 11:48:36 +0800
committerLei YU <mine260309@gmail.com>2018-07-17 01:45:16 +0000
commit1be8d500a8e90f9299bab9abf532ff0762177175 (patch)
treeee973c20cda5d6fa2abd5cea02fbe90a9e768ba7 /image_verify.cpp
parent90532250297fbb021c7601cafe9a6e4c661e93ef (diff)
downloadphosphor-bmc-code-mgmt-1be8d500a8e90f9299bab9abf532ff0762177175.tar.gz
phosphor-bmc-code-mgmt-1be8d500a8e90f9299bab9abf532ff0762177175.zip
Refactor of bmcImages
bmcImages were in image_verify.hpp but it is used not only in image verification, but elsewhere. Move it into a more generic header file, images.hpp, so it makes more clear that users of bmcImages include images.hpp instead of image_verify.hpp Tested: Verify the code pass the build. Change-Id: If9adf315eee9047d9d08ab93ed7c0ff3c97f7a1e Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'image_verify.cpp')
-rw-r--r--image_verify.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
index 7d59910..7ca2629 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -4,6 +4,7 @@
#include <fcntl.h>
#include <openssl/err.h>
+#include "images.hpp"
#include "image_verify.hpp"
#include "config.h"
#include "version.hpp"
OpenPOWER on IntegriCloud