aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/unit1397.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1397.c')
-rw-r--r--tests/unit/unit1397.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/unit1397.c b/tests/unit/unit1397.c
index 37e8e49de..539433ca0 100644
--- a/tests/unit/unit1397.c
+++ b/tests/unit/unit1397.c
@@ -28,7 +28,7 @@ static CURLcode unit_setup(void)
return CURLE_OK;
}
-static void unit_stop( void )
+static void unit_stop(void)
{
/* done before shutting down and exiting */
}
@@ -51,14 +51,14 @@ fail_unless(Curl_cert_hostcheck("f*.example.com", "foo.example.com"),
fail_unless(Curl_cert_hostcheck("192.168.0.0", "192.168.0.0"),
"good 5");
-fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1" );
-fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2" );
-fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3" );
-fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4" );
-fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5" );
-fail_if(Curl_cert_hostcheck("*.com", "example.com"), "bad 6" );
-fail_if(Curl_cert_hostcheck("*fail.com", "example.com"), "bad 7" );
-fail_if(Curl_cert_hostcheck("*.example.", "www.example."), "bad 8" );
+fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1");
+fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2");
+fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3");
+fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4");
+fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5");
+fail_if(Curl_cert_hostcheck("*.com", "example.com"), "bad 6");
+fail_if(Curl_cert_hostcheck("*fail.com", "example.com"), "bad 7");
+fail_if(Curl_cert_hostcheck("*.example.", "www.example."), "bad 8");
fail_if(Curl_cert_hostcheck("*.example.", "www.example"), "bad 9");
fail_if(Curl_cert_hostcheck("", "www"), "bad 10");
fail_if(Curl_cert_hostcheck("*", "www"), "bad 11");