diff options
author | Vojtech Bocek <vbocek@gmail.com> | 2013-07-25 22:53:02 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@198.50.184.117> | 2013-08-24 14:56:48 +0200 |
commit | fafb0c541bb4b24515c57251a44d87825eec90fb (patch) | |
tree | 9cddb55ceef8912c8fafe618c98147ff6df19ef6 /twrpDigest.hpp | |
parent | Clean-up in partitions.hpp (diff) | |
download | android_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 'twrpDigest.hpp')
-rw-r--r-- | twrpDigest.hpp | 27 |
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]; }; |