diff options
author | James Christopher Adduono <jc@adduono.com> | 2016-10-25 08:18:32 +0200 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-11-30 16:30:22 +0100 |
commit | 79ae093c82ec6f714719ccdc97b03e1c184bdc01 (patch) | |
tree | f8f36a520de40efbea049b47c056aa8345c923b8 /twrpDigest.hpp | |
parent | Fix image flashing: attempt 2 (diff) | |
download | android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar.gz android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar.bz2 android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar.lz android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar.xz android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.tar.zst android_bootable_recovery-79ae093c82ec6f714719ccdc97b03e1c184bdc01.zip |
Diffstat (limited to '')
-rw-r--r-- | twrpDigest.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/twrpDigest.hpp b/twrpDigest.hpp index 7ec25edad..ec4a65f75 100644 --- a/twrpDigest.hpp +++ b/twrpDigest.hpp @@ -20,6 +20,14 @@ extern "C" { #include "digest/md5.h" } +/* verify_md5digest return codes */ +enum { + MD5_MATCH_FAIL = -2, // -2: md5 did not match + MD5_NOT_FOUND, // -1: no md5 file found + MD5_OK, // 0: md5 matches + MD5_FILE_UNREADABLE // 1: md5 file unreadable +}; + using namespace std; class twrpDigest |