summaryrefslogtreecommitdiffstats
path: root/print_sha1.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-04 17:18:57 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-04 17:18:57 +0100
commit5587cc195dad5ad16ba00fb6680f437dc9fae826 (patch)
tree9769ef3a39e3d56186156752de9b379bd3769911 /print_sha1.h
parentMerge "updater: Fix an off-by-1 bug in file_getprop()." am: da2b34b5d0 am: 917be35f0f am: 4098285e8c (diff)
parentMerge "Revert "Revert "Some cleanups to recovery.""" am: a7a8262944 am: cb3cbaffac (diff)
downloadandroid_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar.gz
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar.bz2
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar.lz
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar.xz
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.tar.zst
android_bootable_recovery-5587cc195dad5ad16ba00fb6680f437dc9fae826.zip
Diffstat (limited to '')
-rw-r--r--print_sha1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/print_sha1.h b/print_sha1.h
index c7c1f3651..1f8589519 100644
--- a/print_sha1.h
+++ b/print_sha1.h
@@ -20,7 +20,7 @@
#include <stdint.h>
#include <string>
-#include "openssl/sha.h"
+#include <openssl/sha.h>
static std::string print_sha1(const uint8_t* sha1, size_t len) {
const char* hex = "0123456789abcdef";
@@ -41,7 +41,7 @@ static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) {
}
static std::string print_hex(const uint8_t* bytes, size_t len) {
- return print_sha1(bytes, len);
+ return print_sha1(bytes, len);
}
#endif // RECOVERY_PRINT_SHA1_H