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

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

Issue 22647002: Add support to QUIC for QUIC_VERSION_8: for RSA-PSS signatures, set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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 "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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698