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; |
} |