| OLD | NEW |
| 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 "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "crypto/secure_hash.h" | 8 #include "crypto/secure_hash.h" |
| 9 #include "net/quic/crypto/crypto_protocol.h" | 9 #include "net/quic/crypto/crypto_protocol.h" |
| 10 #include "net/quic/crypto/crypto_server_config.h" | 10 #include "net/quic/crypto/crypto_server_config.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 return true; | 123 return true; |
| 124 } | 124 } |
| 125 | 125 |
| 126 QuicErrorCode QuicCryptoServerStream::ProcessClientHello( | 126 QuicErrorCode QuicCryptoServerStream::ProcessClientHello( |
| 127 const CryptoHandshakeMessage& message, | 127 const CryptoHandshakeMessage& message, |
| 128 CryptoHandshakeMessage* reply, | 128 CryptoHandshakeMessage* reply, |
| 129 string* error_details) { | 129 string* error_details) { |
| 130 return crypto_config_.ProcessClientHello( | 130 return crypto_config_.ProcessClientHello( |
| 131 message, | 131 message, |
| 132 session()->connection()->version(), |
| 132 session()->connection()->guid(), | 133 session()->connection()->guid(), |
| 133 session()->connection()->peer_address(), | 134 session()->connection()->peer_address(), |
| 134 session()->connection()->clock(), | 135 session()->connection()->clock(), |
| 135 session()->connection()->random_generator(), | 136 session()->connection()->random_generator(), |
| 136 &crypto_negotiated_params_, reply, error_details); | 137 &crypto_negotiated_params_, reply, error_details); |
| 137 } | 138 } |
| 138 | 139 |
| 139 } // namespace net | 140 } // namespace net |
| OLD | NEW |