diff options
author | Lei YU <mine260309@gmail.com> | 2018-06-20 11:48:36 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2018-07-17 01:45:16 +0000 |
commit | 1be8d500a8e90f9299bab9abf532ff0762177175 (patch) | |
tree | ee973c20cda5d6fa2abd5cea02fbe90a9e768ba7 /image_verify.cpp | |
parent | 90532250297fbb021c7601cafe9a6e4c661e93ef (diff) | |
download | phosphor-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.cpp | 1 |
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" |