summaryrefslogtreecommitdiffstats
path: root/twrpDigest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpDigest.cpp')
-rw-r--r--twrpDigest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpDigest.cpp b/twrpDigest.cpp
index 0693c5500..c3cff7194 100644
--- a/twrpDigest.cpp
+++ b/twrpDigest.cpp
@@ -40,6 +40,7 @@ extern "C"
#include "variables.h"
#include "twrp-functions.hpp"
#include "twrpDigest.hpp"
+#include "set_metadata.h"
using namespace std;
@@ -79,6 +80,7 @@ int twrpDigest::write_md5digest(void) {
md5string += basename((char*) md5fn.c_str());
md5string += + "\n";
TWFunc::write_file(md5file, md5string);
+ tw_set_default_metadata(md5file.c_str());
LOGINFO("MD5 for %s: %s\n", md5fn.c_str(), md5string.c_str());
return 0;
}