| Index: net/quic/quic_framer.cc
|
| diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
|
| index 70084a5bb354c27c4e841f318efe2cd00aa917ec..95c42b7105177d2aa2a37b8ed80397dd05a760b5 100644
|
| --- a/net/quic/quic_framer.cc
|
| +++ b/net/quic/quic_framer.cc
|
| @@ -1096,7 +1096,7 @@ size_t QuicFramer::GetMaxPlaintextSize(size_t ciphertext_size) {
|
| // safe.
|
| size_t min_plaintext_size = ciphertext_size;
|
|
|
| - for (int i = ENCRYPTION_NONE; i <= ENCRYPTION_FORWARD_SECURE; i++) {
|
| + for (int i = ENCRYPTION_NONE; i < NUM_ENCRYPTION_LEVELS; i++) {
|
| if (encrypter_[i].get() != NULL) {
|
| size_t size = encrypter_[i]->GetMaxPlaintextSize(ciphertext_size);
|
| if (size < min_plaintext_size) {
|
|
|