Index: net/quic/crypto/crypto_utils.cc |
diff --git a/net/quic/crypto/crypto_utils.cc b/net/quic/crypto/crypto_utils.cc |
index c5957750654659225bc2cf0ccf796e7e476cfaaa..0916474f215719459d5f4b9dca8b59a0f6e62035 100644 |
--- a/net/quic/crypto/crypto_utils.cc |
+++ b/net/quic/crypto/crypto_utils.cc |
@@ -104,7 +104,7 @@ bool CryptoUtils::DeriveKeys(StringPiece premaster_secret, |
crypto::HKDF hkdf(premaster_secret, nonce, hkdf_input, key_bytes, |
nonce_prefix_bytes, subkey_secret_bytes); |
- if (perspective == SERVER) { |
+ if (perspective == Perspective::IS_SERVER) { |
if (!crypters->encrypter->SetKey(hkdf.server_write_key()) || |
!crypters->encrypter->SetNoncePrefix(hkdf.server_write_iv()) || |
!crypters->decrypter->SetKey(hkdf.client_write_key()) || |