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

Unified Diff: net/quic/crypto/proof_verifier.h

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 side-by-side diff with in-line comments
Download patch
Index: net/quic/crypto/proof_verifier.h
===================================================================
--- net/quic/crypto/proof_verifier.h (revision 216255)
+++ net/quic/crypto/proof_verifier.h (working copy)
@@ -10,6 +10,7 @@
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
+#include "net/quic/quic_protocol.h"
namespace net {
@@ -70,7 +71,11 @@
//
// The signature uses SHA-256 as the hash function and PSS padding in the
// case of RSA.
- virtual Status VerifyProof(const std::string& hostname,
+ //
+ // |version| is the QUIC version for the connection. TODO(wtc): Remove once
+ // QUIC_VERSION_7 and before are removed.
+ virtual Status VerifyProof(QuicVersion version,
+ const std::string& hostname,
const std::string& server_config,
const std::vector<std::string>& certs,
const std::string& signature,

Powered by Google App Engine
This is Rietveld 408576698