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

Unified Diff: net/tools/testserver/testserver.py

Issue 1351133002: Revert of Add flags to python test server for channel id, extended master secret, and token binding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « net/test/spawned_test_server/base_test_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/testserver/testserver.py
diff --git a/net/tools/testserver/testserver.py b/net/tools/testserver/testserver.py
index 99684c8e3079aad014ca97fe47c3194632faddb7..ad1a57d0e4f606294bd1e8801ca0e612107d5069 100755
--- a/net/tools/testserver/testserver.py
+++ b/net/tools/testserver/testserver.py
@@ -158,8 +158,7 @@
record_resume_info, tls_intolerant,
tls_intolerance_type, signed_cert_timestamps,
fallback_scsv_enabled, ocsp_response,
- alert_after_handshake, disable_channel_id, disable_ems,
- token_binding_params):
+ alert_after_handshake):
self.cert_chain = tlslite.api.X509CertChain()
self.cert_chain.parsePemList(pem_cert_and_key)
# Force using only python implementation - otherwise behavior is different
@@ -205,12 +204,6 @@
self.ssl_handshake_settings.tlsIntoleranceType = tls_intolerance_type
if alert_after_handshake:
self.ssl_handshake_settings.alertAfterHandshake = True
- if disable_channel_id:
- self.ssl_handshake_settings.enableChannelID = False
- if disable_ems:
- self.ssl_handshake_settings.enableExtendedMasterSecret = False
- self.ssl_handshake_settings.supportedTokenBindingParams = \
- token_binding_params
if record_resume_info:
# If record_resume_info is true then we'll replace the session cache with
@@ -2064,10 +2057,7 @@
"base64"),
self.options.fallback_scsv,
stapled_ocsp_response,
- self.options.alert_after_handshake,
- self.options.disable_channel_id,
- self.options.disable_extended_master_secret,
- self.options.token_binding_params)
+ self.options.alert_after_handshake)
print 'HTTPS server started on https://%s:%d...' % \
(host, server.server_port)
else:
@@ -2313,11 +2303,6 @@
default=False, action='store_true',
help='If set, the FTP server will not create '
'an anonymous user.')
- self.option_parser.add_option('--disable-channel-id', action='store_true')
- self.option_parser.add_option('--disable-extended-master-secret',
- action='store_true')
- self.option_parser.add_option('--token-binding-params', action='append',
- default=[], type='int')
if __name__ == '__main__':
« no previous file with comments | « net/test/spawned_test_server/base_test_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698