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

Unified Diff: crypto/rsa_private_key.cc

Issue 8429034: Upstream: Build net_unittests for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: split out unreviewed files Created 9 years, 1 month 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 | « crypto/crypto.gyp ('k') | net/base/dns_reloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/rsa_private_key.cc
diff --git a/crypto/rsa_private_key.cc b/crypto/rsa_private_key.cc
index 2d849cdbd7a661894a5bbfbd09d4b69e4d44b117..62eb996edd3e03073328280e4ff0b64fe8843519 100644
--- a/crypto/rsa_private_key.cc
+++ b/crypto/rsa_private_key.cc
@@ -185,7 +185,7 @@ void PrivateKeyInfoCodec::PrependIntegerImpl(uint8* val,
std::vector<uint8> tmp;
if (!big_endian) {
tmp.assign(val, val + num_bytes);
- reverse(tmp.begin(), tmp.end());
+ std::reverse(tmp.begin(), tmp.end());
val = &tmp.front();
}
@@ -240,7 +240,7 @@ bool PrivateKeyInfoCodec::ReadIntegerWithExpectedSize(uint8** pos,
// Reverse output if little-endian.
if (!big_endian_)
- reverse(out->begin(), out->end());
+ std::reverse(out->begin(), out->end());
return true;
}
@@ -265,7 +265,7 @@ bool PrivateKeyInfoCodec::ReadIntegerImpl(uint8** pos,
// Reverse output if little-endian.
if (!big_endian)
- reverse(out->begin(), out->end());
+ std::reverse(out->begin(), out->end());
return true;
}
« no previous file with comments | « crypto/crypto.gyp ('k') | net/base/dns_reloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698