summaryrefslogtreecommitdiffstats
path: root/net/test/base_test_server.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-19 17:18:07 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-19 17:18:07 +0000
commit5867e016e7b398e86abf36d1c0b1c2909bc1ad98 (patch)
tree072174d2783e96c82aa37885b294ff1afe8585ae /net/test/base_test_server.h
parentd6bbd29389124100f174e1e94601454a94ec923a (diff)
downloadchromium_src-5867e016e7b398e86abf36d1c0b1c2909bc1ad98.zip
chromium_src-5867e016e7b398e86abf36d1c0b1c2909bc1ad98.tar.gz
chromium_src-5867e016e7b398e86abf36d1c0b1c2909bc1ad98.tar.bz2
Revert "net: add OCSP tests."
This reverts commit r127486. Looks like it's broken on Windows XP only. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test/base_test_server.h')
-rw-r--r--net/test/base_test_server.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/test/base_test_server.h b/net/test/base_test_server.h
index fd04e55..7264a65 100644
--- a/net/test/base_test_server.h
+++ b/net/test/base_test_server.h
@@ -46,11 +46,6 @@ class BaseTestServer {
struct HTTPSOptions {
enum ServerCertificate {
CERT_OK,
-
- // CERT_AUTO causes the testserver to generate a test certificate issued
- // by "Testing CA" (see net/data/ssl/certificates/ocsp-test-root.pem).
- CERT_AUTO,
-
CERT_MISMATCHED_NAME,
CERT_EXPIRED,
// Cross-signed certificate to test PKIX path building. Contains an
@@ -60,14 +55,6 @@ class BaseTestServer {
CERT_CHAIN_WRONG_ROOT,
};
- // OCSPStatus enumerates the types of OCSP response that the testserver
- // can produce.
- enum OCSPStatus {
- OCSP_OK,
- OCSP_REVOKED,
- OCSP_INVALID,
- };
-
// Bitmask of bulk encryption algorithms that the test server supports
// and that can be selectively enabled or disabled.
enum BulkCipher {
@@ -96,17 +83,9 @@ class BaseTestServer {
// |server_certificate|.
FilePath GetCertificateFile() const;
- // GetOCSPArgument returns the value of any OCSP argument to testserver or
- // the empty string if there is none.
- std::string GetOCSPArgument() const;
-
// The certificate to use when serving requests.
ServerCertificate server_certificate;
- // If |server_certificate==CERT_AUTO| then this determines the type of OCSP
- // response returned.
- OCSPStatus ocsp_status;
-
// True if a CertificateRequest should be sent to the client during
// handshaking.
bool request_client_certificate;