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

Unified Diff: trunk/src/sync/util/nigori.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/sync/util/cryptographer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/sync/util/nigori.cc
===================================================================
--- trunk/src/sync/util/nigori.cc (revision 239920)
+++ trunk/src/sync/util/nigori.cc (working copy)
@@ -150,8 +150,7 @@
output.assign(ciphertext);
output.append(hash.begin(), hash.end());
- Base64Encode(output, permuted);
- return true;
+ return Base64Encode(output, permuted);
}
// Enc[Kenc,Kmac](value)
@@ -187,8 +186,7 @@
output.append(ciphertext);
output.append(hash.begin(), hash.end());
- Base64Encode(output, encrypted);
- return true;
+ return Base64Encode(output, encrypted);
}
bool Nigori::Decrypt(const std::string& encrypted, std::string* value) const {
« no previous file with comments | « trunk/src/sync/util/cryptographer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698