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 f21d051479f1232c4c5e102413114c3b43ca2569..d6ce2e4c4ad45dff92083d38f01d8c627d905284 100644 |
--- a/net/quic/crypto/quic_crypto_client_config.h |
+++ b/net/quic/crypto/quic_crypto_client_config.h |
@@ -229,6 +229,11 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig { |
// called after SetDefaults(). |
void PreferAesGcm(); |
+ // Disables the use of ECDSA for proof verification. |
+ // Call this method on platforms that do not support ECDSA. |
+ // TODO(rch): remove this method when we drop support for Windows XP. |
+ void DisableEcdsa(); |
+ |
private: |
typedef std::map<QuicSessionKey, CachedState*> CachedStateMap; |
@@ -255,6 +260,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); |
}; |