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

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

Issue 209413005: Move Window's specific logic for disabling ECDSA from QuicCryptoyclientConfig (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/crypto/quic_crypto_client_config.h
diff --git a/net/quic/crypto/quic_crypto_client_config.h b/net/quic/crypto/quic_crypto_client_config.h
index d68f437477d8acf6d90964d102a4ce7ffa102076..5da99a6bd97352fcc084fd236b7e2ecfd233f3a4 100644
--- a/net/quic/crypto/quic_crypto_client_config.h
+++ b/net/quic/crypto/quic_crypto_client_config.h
@@ -224,6 +224,9 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
// suffix will be used to initialize the cached state for this server.
void AddCanonicalSuffix(const std::string& suffix);
+ // Disables the use of ECDSA for certificate validation.
wtc 2014/03/25 14:58:11 Nit: we should refer to this as "proof validation"
Ryan Hamilton 2014/03/27 19:06:39 Done.
+ void DisableEcdsa();
+
private:
typedef std::map<QuicSessionKey, CachedState*> CachedStateMap;
@@ -250,6 +253,9 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
scoped_ptr<ProofVerifier> proof_verifier_;
scoped_ptr<ChannelIDSigner> channel_id_signer_;
+ // True if ECDSA should be disabled.
+ bool disable_ecdsa_;
+
DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig);
};
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_client_config.cc » ('j') | net/quic/crypto/quic_crypto_client_config.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698