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

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: address comments 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
Index: crypto/rsa_private_key.cc
diff --git a/crypto/rsa_private_key.cc b/crypto/rsa_private_key.cc
index 8290d1602ae5771cead6dc92e3c95c1e1cf732a6..354663deceb68a3d72ff1d46a3a19a3977447eb5 100644
--- a/crypto/rsa_private_key.cc
+++ b/crypto/rsa_private_key.cc
@@ -188,7 +188,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();
}
@@ -246,7 +246,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;
}
@@ -271,7 +271,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') | net/base/dns_reloader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698