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

Unified Diff: net/base/keygen_handler_win.cc

Issue 86913002: Make base::Base64Encode() return void (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more chromeos-specific fix. 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
Index: net/base/keygen_handler_win.cc
diff --git a/net/base/keygen_handler_win.cc b/net/base/keygen_handler_win.cc
index e1d432ce40109f69e94544ba0340cf6c6b0025a2..59d90e8b40cad2e562efc82416328fa99c7169b2 100644
--- a/net/base/keygen_handler_win.cc
+++ b/net/base/keygen_handler_win.cc
@@ -211,10 +211,7 @@ std::string KeygenHandler::GenKeyAndSignChallenge() {
}
std::string result;
- if (!base::Base64Encode(spkac, &result)) {
- LOG(ERROR) << "Keygen failed: Couldn't convert signed key into base64";
- return std::string();
- }
+ base::Base64Encode(spkac, &result);
VLOG(1) << "Keygen succeeded";
return result;
« no previous file with comments | « jingle/notifier/listener/push_notifications_send_update_task_unittest.cc ('k') | net/cert/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698