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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 109563002: net: add test for TLS_FALLBACK_SCSV (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo fix. Created 7 years 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/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index 9d5cda8dab9583f22efe4d8b288bb2c80f4ee18f..bb82ed099751f99b8c22953921674762af8fa0ad 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -148,6 +148,13 @@ class BaseTestServer {
// negotiates an intolerant TLS version in order to test version fallback.
TLSIntolerantLevel tls_intolerant;
+ // fallback_scsv_enabled, if true, causes the server to process the
+ // TLS_FALLBACK_SCSV cipher suite. This cipher suite is sent by Chrome
+ // when performing TLS version fallback in response to an SSL handshake
+ // failure. If this option is enabled then the server will reject fallback
+ // connections.
+ bool fallback_scsv_enabled;
+
// (Fake) SignedCertificateTimestampList (as a raw binary string) to send in
// a TLS extension.
// Temporary glue for testing: validation of SCTs is application-controlled
« no previous file with comments | « no previous file | net/test/spawned_test_server/base_test_server.cc » ('j') | third_party/tlslite/tlslite/TLSConnection.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698