Commit 55e37bdb authored by Alexandre Julliard's avatar Alexandre Julliard

secur32/tests: Run the tests against the winehq.org server.

parent 1e29e520
...@@ -513,11 +513,11 @@ static void test_remote_cert(PCCERT_CONTEXT remote_cert) ...@@ -513,11 +513,11 @@ static void test_remote_cert(PCCERT_CONTEXT remote_cert)
cert_cnt++; cert_cnt++;
} }
ok(cert_cnt == 2, "cert_cnt = %u\n", cert_cnt); ok(cert_cnt == 3, "cert_cnt = %u\n", cert_cnt);
ok(incl_remote, "context does not contain cert itself\n"); ok(incl_remote, "context does not contain cert itself\n");
} }
static const char http_request[] = "HEAD /test.html HTTP/1.1\r\nHost: www.codeweavers.com\r\nConnection: close\r\n\r\n"; static const char http_request[] = "HEAD /test.html HTTP/1.1\r\nHost: www.winehq.org\r\nConnection: close\r\n\r\n";
static void init_cred(SCHANNEL_CRED *cred) static void init_cred(SCHANNEL_CRED *cred)
{ {
...@@ -639,7 +639,7 @@ static void test_communication(void) ...@@ -639,7 +639,7 @@ static void test_communication(void)
return; return;
} }
/* Create a socket and connect to www.codeweavers.com */ /* Create a socket and connect to www.winehq.org */
ret = WSAStartup(0x0202, &wsa_data); ret = WSAStartup(0x0202, &wsa_data);
if (ret) if (ret)
{ {
...@@ -647,10 +647,10 @@ static void test_communication(void) ...@@ -647,10 +647,10 @@ static void test_communication(void)
return; return;
} }
host = gethostbyname("www.codeweavers.com"); host = gethostbyname("www.winehq.org");
if (!host) if (!host)
{ {
skip("Can't resolve www.codeweavers.com\n"); skip("Can't resolve www.winehq.org\n");
return; return;
} }
...@@ -667,7 +667,7 @@ static void test_communication(void) ...@@ -667,7 +667,7 @@ static void test_communication(void)
ret = connect(sock, (struct sockaddr *)&addr, sizeof(addr)); ret = connect(sock, (struct sockaddr *)&addr, sizeof(addr));
if (ret == SOCKET_ERROR) if (ret == SOCKET_ERROR)
{ {
skip("Can't connect to www.codeweavers.com\n"); skip("Can't connect to www.winehq.org\n");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment