| Index: net/test/test_server_win.cc
|
| diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc
|
| index c6e10d5bbc61d2d6cac8b5e69fa3b9e2a3bfe64b..8231642d7c06a5fe215af4edf1185e4fbd53ed25 100644
|
| --- a/net/test/test_server_win.cc
|
| +++ b/net/test/test_server_win.cc
|
| @@ -172,32 +172,4 @@ bool TestServer::WaitToStart() {
|
| return result && bytes_read > 0;
|
| }
|
|
|
| -bool TestServer::CheckCATrusted() {
|
| - HCERTSTORE cert_store = CertOpenSystemStore(NULL, L"ROOT");
|
| - if (!cert_store) {
|
| - LOG(ERROR) << " could not open trusted root CA store";
|
| - return false;
|
| - }
|
| - PCCERT_CONTEXT cert =
|
| - CertFindCertificateInStore(cert_store,
|
| - X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
|
| - 0,
|
| - CERT_FIND_ISSUER_STR,
|
| - L"Test CA",
|
| - NULL);
|
| - if (cert)
|
| - CertFreeCertificateContext(cert);
|
| - CertCloseStore(cert_store, 0);
|
| -
|
| - if (!cert) {
|
| - LOG(ERROR) << " TEST CONFIGURATION ERROR: you need to import the test ca "
|
| - "certificate to your trusted roots for this test to work. "
|
| - "For more info visit:\n"
|
| - "http://dev.chromium.org/developers/testing\n";
|
| - return false;
|
| - }
|
| -
|
| - return true;
|
| -}
|
| -
|
| } // namespace net
|
|
|