Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Unified Diff: trunk/src/remoting/protocol/authenticator_test_base.cc

Issue 101113004: Revert 239759 "The comment in base64.h implies that base::Base64..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/remoting/protocol/auth_util.cc ('k') | trunk/src/remoting/protocol/pairing_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/protocol/authenticator_test_base.cc
===================================================================
--- trunk/src/remoting/protocol/authenticator_test_base.cc (revision 239920)
+++ trunk/src/remoting/protocol/authenticator_test_base.cc (working copy)
@@ -53,7 +53,7 @@
std::string key_string;
ASSERT_TRUE(base::ReadFileToString(key_path, &key_string));
std::string key_base64;
- base::Base64Encode(key_string, &key_base64);
+ ASSERT_TRUE(base::Base64Encode(key_string, &key_base64));
key_pair_ = RsaKeyPair::FromString(key_base64);
ASSERT_TRUE(key_pair_.get());
host_public_key_ = key_pair_->GetPublicKey();
« no previous file with comments | « trunk/src/remoting/protocol/auth_util.cc ('k') | trunk/src/remoting/protocol/pairing_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698