summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-01-19 00:24:20 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-01-19 00:24:20 +0100
commit977adba0988e07957a7b595590028b4f92aabbbd (patch)
tree43bd99c37aade61d9bc79c247d32c606ffa87dd8
parentMerge "Add a checker for signature boundary in verifier am: 54ea136fde am: 0a34b17c8b am: fb80b4f72d am: d3d5e54a45 am: 6ea9888d51 am: a055eb93c3 am: 15ca2a4763 am: ca50d7b66a am: 64f0de7a13 am: e4ec60e045 am: e0d3b0ceab am: f127896675" into nyc-mr2-dev-plus-aosp (diff)
parentresolve build error when merging 0f7f7e21 (diff)
downloadandroid_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar.gz
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar.bz2
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar.lz
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar.xz
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.tar.zst
android_bootable_recovery-977adba0988e07957a7b595590028b4f92aabbbd.zip
-rw-r--r--verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/verifier.cpp b/verifier.cpp
index 22f15235b..82454867b 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -148,8 +148,8 @@ int verify_file(unsigned char* addr, size_t length,
<< " bytes from end";
if (signature_start > comment_size) {
- LOGE("signature start: %zu is larger than comment size: %zu\n", signature_start,
- comment_size);
+ LOG(ERROR) << "signature start: " << signature_start << " is larger than comment size: "
+ << comment_size;
return VERIFY_FAILURE;
}