Index: net/quic/test_tools/crypto_test_utils_openssl.cc |
diff --git a/net/quic/test_tools/crypto_test_utils_openssl.cc b/net/quic/test_tools/crypto_test_utils_openssl.cc |
index 15babd49473d87c77ae58c8fe752b6153212fe61..4db57b584c93af6cde0a6b7e75a2476cff12ebc2 100644 |
--- a/net/quic/test_tools/crypto_test_utils_openssl.cc |
+++ b/net/quic/test_tools/crypto_test_utils_openssl.cc |
@@ -26,12 +26,12 @@ namespace test { |
class TestChannelIDKey : public ChannelIDKey { |
public: |
explicit TestChannelIDKey(EVP_PKEY* ecdsa_key) : ecdsa_key_(ecdsa_key) {} |
- virtual ~TestChannelIDKey() OVERRIDE {} |
+ virtual ~TestChannelIDKey() override {} |
// ChannelIDKey implementation. |
virtual bool Sign(StringPiece signed_data, |
- string* out_signature) const OVERRIDE { |
+ string* out_signature) const override { |
crypto::ScopedEVP_MD_CTX md_ctx(EVP_MD_CTX_create()); |
if (!md_ctx || |
EVP_DigestSignInit(md_ctx.get(), nullptr, EVP_sha256(), nullptr, |
@@ -75,7 +75,7 @@ class TestChannelIDKey : public ChannelIDKey { |
return true; |
} |
- virtual string SerializeKey() const OVERRIDE { |
+ virtual string SerializeKey() const override { |
// i2d_PublicKey will produce an ANSI X9.62 public key which, for a P-256 |
// key, is 0x04 (meaning uncompressed) followed by the x and y field |
// elements as 32-byte, big-endian numbers. |
@@ -106,7 +106,7 @@ class TestChannelIDSource : public ChannelIDSource { |
virtual QuicAsyncStatus GetChannelIDKey( |
const string& hostname, |
scoped_ptr<ChannelIDKey>* channel_id_key, |
- ChannelIDSourceCallback* /*callback*/) OVERRIDE { |
+ ChannelIDSourceCallback* /*callback*/) override { |
channel_id_key->reset(new TestChannelIDKey(HostnameToKey(hostname))); |
return QUIC_SUCCESS; |
} |