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

Side by Side Diff: net/test/spawned_test_server/base_test_server.h

Issue 2083743002: Adding TLS 1.3 constants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing default versions. Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
6 #define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 6 #define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // be able to connect if only 3DES is specified. 115 // be able to connect if only 3DES is specified.
116 BULK_CIPHER_3DES = (1 << 3), 116 BULK_CIPHER_3DES = (1 << 3),
117 117
118 BULK_CIPHER_AES128GCM = (1 << 4), 118 BULK_CIPHER_AES128GCM = (1 << 4),
119 }; 119 };
120 120
121 // NOTE: the values of these enumerators are passed to the the Python test 121 // NOTE: the values of these enumerators are passed to the the Python test
122 // server. Do not change them. 122 // server. Do not change them.
123 enum TLSIntolerantLevel { 123 enum TLSIntolerantLevel {
124 TLS_INTOLERANT_NONE = 0, 124 TLS_INTOLERANT_NONE = 0,
125 TLS_INTOLERANT_ALL = 1, // Intolerant of all TLS versions. 125 TLS_INTOLERANT_ALL = 1, // Intolerant of all TLS versions.
126 TLS_INTOLERANT_TLS1_1 = 2, // Intolerant of TLS 1.1 or higher. 126 TLS_INTOLERANT_TLS1_1 = 2, // Intolerant of TLS 1.1 or higher.
127 TLS_INTOLERANT_TLS1_2 = 3, // Intolerant of TLS 1.2 or higher. 127 TLS_INTOLERANT_TLS1_2 = 3, // Intolerant of TLS 1.2 or higher.
128 TLS_INTOLERANT_TLS1_2 = 4, // Intolerant of TLS 1.3 or higher.
davidben 2016/07/18 09:46:40 Typo? (I guess leave this alone for now until we n
128 }; 129 };
129 130
130 // Values which control how the server reacts in response to a ClientHello 131 // Values which control how the server reacts in response to a ClientHello
131 // it is intolerant of. 132 // it is intolerant of.
132 enum TLSIntoleranceType { 133 enum TLSIntoleranceType {
133 TLS_INTOLERANCE_ALERT = 0, // Send a handshake_failure alert. 134 TLS_INTOLERANCE_ALERT = 0, // Send a handshake_failure alert.
134 TLS_INTOLERANCE_CLOSE = 1, // Close the connection. 135 TLS_INTOLERANCE_CLOSE = 1, // Close the connection.
135 TLS_INTOLERANCE_RESET = 2, // Send a TCP reset. 136 TLS_INTOLERANCE_RESET = 2, // Send a TCP reset.
136 }; 137 };
137 138
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 bool no_anonymous_ftp_user_; 365 bool no_anonymous_ftp_user_;
365 366
366 std::unique_ptr<ScopedPortException> allowed_port_; 367 std::unique_ptr<ScopedPortException> allowed_port_;
367 368
368 DISALLOW_COPY_AND_ASSIGN(BaseTestServer); 369 DISALLOW_COPY_AND_ASSIGN(BaseTestServer);
369 }; 370 };
370 371
371 } // namespace net 372 } // namespace net
372 373
373 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 374 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
OLDNEW
« net/socket/ssl_client_socket_impl.cc ('K') | « net/ssl/ssl_server_config.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698