Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: net/quic/quic_crypto_server_stream_test.cc

Issue 1765603002: Add QUIC 31 in which the server's proof covers both the static server config as well as a hash of t… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_crypto_server_stream.h" 5 #include "net/quic/quic_crypto_server_stream.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 QuicTime::Delta::FromSeconds(100000), 138 QuicTime::Delta::FromSeconds(100000),
139 supported_versions_, 139 supported_versions_,
140 140
141 helpers_.back(), &client_crypto_config_, 141 helpers_.back(), &client_crypto_config_,
142 &client_connection_, &client_session); 142 &client_connection_, &client_session);
143 CHECK(client_session); 143 CHECK(client_session);
144 client_session_.reset(client_session); 144 client_session_.reset(client_session);
145 } 145 }
146 146
147 bool AsyncStrikeRegisterVerification() { 147 bool AsyncStrikeRegisterVerification() {
148 if (server_connection_->version() > QUIC_VERSION_30) { 148 if (server_connection_->version() > QUIC_VERSION_31) {
149 return false; 149 return false;
150 } 150 }
151 return GetParam(); 151 return GetParam();
152 } 152 }
153 153
154 void ConstructHandshakeMessage() { 154 void ConstructHandshakeMessage() {
155 CryptoFramer framer; 155 CryptoFramer framer;
156 message_data_.reset(framer.ConstructHandshakeMessage(message_)); 156 message_data_.reset(framer.ConstructHandshakeMessage(message_));
157 } 157 }
158 158
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 QUIC_NO_ERROR, ConnectionCloseSource::FROM_PEER); 519 QUIC_NO_ERROR, ConnectionCloseSource::FROM_PEER);
520 520
521 // The outstanding nonce verification RPC now completes. 521 // The outstanding nonce verification RPC now completes.
522 strike_register_client_->RunPendingVerifications(); 522 strike_register_client_->RunPendingVerifications();
523 } 523 }
524 524
525 } // namespace 525 } // namespace
526 526
527 } // namespace test 527 } // namespace test
528 } // namespace net 528 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698