summaryrefslogtreecommitdiffstats
path: root/twrpDigest.hpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2013-07-25 22:53:02 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-08-24 14:56:48 +0200
commitfafb0c541bb4b24515c57251a44d87825eec90fb (patch)
tree9cddb55ceef8912c8fafe618c98147ff6df19ef6 /twrpDigest.hpp
parentClean-up in partitions.hpp (diff)
downloadandroid_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.gz
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.bz2
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.lz
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.xz
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.zst
android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.zip
Diffstat (limited to '')
-rw-r--r--twrpDigest.hpp27
1 files changed, 15 insertions, 12 deletions
diff --git a/twrpDigest.hpp b/twrpDigest.hpp
index 395c0aea1..237e58069 100644
--- a/twrpDigest.hpp
+++ b/twrpDigest.hpp
@@ -18,18 +18,21 @@
extern "C" {
#include "digest/md5.h"
}
+
using namespace std;
-class twrpDigest {
- public:
- void setfn(string fn);
- void setdir(string dir);
- int computeMD5(void);
- int verify_md5digest(void);
- int write_md5digest(void);
- private:
- int read_md5digest(void);
- string md5fn;
- string line;
- unsigned char md5sum[MD5LENGTH];
+class twrpDigest
+{
+public:
+ void setfn(string fn);
+ void setdir(string dir);
+ int computeMD5(void);
+ int verify_md5digest(void);
+ int write_md5digest(void);
+
+private:
+ int read_md5digest(void);
+ string md5fn;
+ string line;
+ unsigned char md5sum[MD5LENGTH];
};