aboutsummaryrefslogtreecommitdiffstats
path: root/uncrypt/uncrypt.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-12-12 17:10:20 -0800
committerTao Bao <tbao@google.com>2016-12-13 17:46:03 -0800
commit10334088017c9bfcf1b171567e7c4794876c33c9 (patch)
tree8f6ab5746fd9522192fad42110468e1401ac9bc3 /uncrypt/uncrypt.cpp
parentd6a5005fcb1f2ea6cfbdcb424497b626aeab7e16 (diff)
downloadandroid_bootable_recovery-10334088017c9bfcf1b171567e7c4794876c33c9.tar.gz
android_bootable_recovery-10334088017c9bfcf1b171567e7c4794876c33c9.tar.bz2
android_bootable_recovery-10334088017c9bfcf1b171567e7c4794876c33c9.zip
Add tests for setup-bcb and clear-bcb via uncrypt.
Bug: http://b/33534933 Test: recovery_component_test passes (and fails on buggy build due to the CL in [1]). [1]: commit 7e31f421a514da09b90e46dbd642a5e9b16e0003 Change-Id: I120498048ec1db8f9fcbb3cf135c05d3a48cfcdf
Diffstat (limited to 'uncrypt/uncrypt.cpp')
-rw-r--r--uncrypt/uncrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp
index 38b25abc..4ac516d2 100644
--- a/uncrypt/uncrypt.cpp
+++ b/uncrypt/uncrypt.cpp
@@ -530,7 +530,7 @@ static bool setup_bcb(const int socket) {
std::string content;
content.resize(length);
if (!android::base::ReadFully(socket, &content[0], length)) {
- PLOG(ERROR) << "failed to read the length";
+ PLOG(ERROR) << "failed to read the message";
return false;
}
LOG(INFO) << " received command: [" << content << "] (" << content.size() << ")";