commit | 3bfa263f53cce75474dd4e93e9885177e4fdb388 | [log] [tgz] |
---|---|---|
author | Richard Uhler <ruhler@google.com> | Thu Sep 14 14:55:32 2017 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 14 14:55:32 2017 +0000 |
tree | 89ab8d5f60652363b0d6b1452104709df4fd3690 | |
parent | e335ee8f7279d321c5cd7e8916fc6454a23b2cd5 [diff] | |
parent | a3a60b372efb48a672848c7797efd57a4ec92303 [diff] |
Merge "Revert "Add support for gid derivation on private volumes"" into oc-mr1-dev
diff --git a/KeyUtil.cpp b/KeyUtil.cpp index 7bbbf01..dbc73c1 100644 --- a/KeyUtil.cpp +++ b/KeyUtil.cpp
@@ -98,7 +98,7 @@ static std::string keyname(const std::string& prefix, const std::string& raw_ref) { std::ostringstream o; o << prefix << ":"; - for (auto i : raw_ref) { + for (unsigned char i : raw_ref) { o << std::hex << std::setw(2) << std::setfill('0') << (int)i; } return o.str();