diff options
Diffstat (limited to 'crypto/rsa_private_key.cc')
-rw-r--r-- | crypto/rsa_private_key.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rsa_private_key.cc b/crypto/rsa_private_key.cc index 2d849cd..62eb996 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; } |