[update_engine] Roll forward to new libchrome
BUG=chromium-os:14304
TEST=build, unit tests
Change-Id: Ic6bc4c27ade8f960b770cd766753d6e5729d4878
Reviewed-on: http://gerrit.chromium.org/gerrit/823
Reviewed-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/payload_signer.cc b/payload_signer.cc
index ef9791d..f613f36 100644
--- a/payload_signer.cc
+++ b/payload_signer.cc
@@ -5,6 +5,7 @@
#include "update_engine/payload_signer.h"
#include <base/logging.h>
+#include <base/string_split.h>
#include <base/string_util.h>
#include <openssl/pem.h>
@@ -146,9 +147,9 @@
// This runs on the server, so it's okay to cop out and call openssl
// executable rather than properly use the library
vector<string> cmd;
- SplitString("/usr/bin/openssl rsautl -raw -sign -inkey x -in x -out x",
- ' ',
- &cmd);
+ base::SplitString("/usr/bin/openssl rsautl -raw -sign -inkey x -in x -out x",
+ ' ',
+ &cmd);
cmd[cmd.size() - 5] = private_key_path;
cmd[cmd.size() - 3] = hash_path;
cmd[cmd.size() - 1] = sig_path;