You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2015/05/16 18:46:01 UTC

trafficserver git commit: Clang-format fixes.

Repository: trafficserver
Updated Branches:
  refs/heads/master ada83bb24 -> 39a980a49


Clang-format fixes.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/39a980a4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/39a980a4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/39a980a4

Branch: refs/heads/master
Commit: 39a980a490a6c08ce9893a2925b7cd41e5513e4d
Parents: ada83bb
Author: shinrich <sh...@yahoo-inc.com>
Authored: Sat May 16 11:45:42 2015 -0500
Committer: shinrich <sh...@yahoo-inc.com>
Committed: Sat May 16 11:45:42 2015 -0500

----------------------------------------------------------------------
 lib/ts/test_X509HostnameValidator.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/39a980a4/lib/ts/test_X509HostnameValidator.cc
----------------------------------------------------------------------
diff --git a/lib/ts/test_X509HostnameValidator.cc b/lib/ts/test_X509HostnameValidator.cc
index cfc1674..8344483 100644
--- a/lib/ts/test_X509HostnameValidator.cc
+++ b/lib/ts/test_X509HostnameValidator.cc
@@ -99,8 +99,7 @@ REGRESSION_TEST(CN_match)(RegressionTest *t, int /* atype ATS_UNUSED */, int *ps
   box.check(x != NULL, "failed to load the test certificate");
   box.check(validate_hostname(x, (unsigned char *)test_certificate_cn_name, false, &matching) == true, "Hostname should match");
   box.check(strcmp(test_certificate_cn_name, matching) == 0, "Return hostname doesn't match lookup");
-  box.check(validate_hostname(x, (unsigned char *)test_certificate_cn_name + 1, false, NULL) == false,
-            "Hostname shouldn't match");
+  box.check(validate_hostname(x, (unsigned char *)test_certificate_cn_name + 1, false, NULL) == false, "Hostname shouldn't match");
 }
 
 REGRESSION_TEST(bad_wildcard_SANs)(RegressionTest *t, int /* atype ATS_UNUSED */, int *pstatus)
@@ -165,8 +164,7 @@ REGRESSION_TEST(middle_label_match)(RegressionTest *t, int /* atype ATS_UNUSED *
   box.check(strcmp("*bar.trafficserver.net", matching) == 0, "Return hostname doesn't match lookup");
 
   box.check(validate_hostname(x, (unsigned char *)"a.bar.trafficserver.net", false, NULL) == false, "Hostname shouldn't match");
-  box.check(validate_hostname(x, (unsigned char *)"foo.bar.trafficserver.net", false, NULL) == false,
-            "Hostname shouldn't match");
+  box.check(validate_hostname(x, (unsigned char *)"foo.bar.trafficserver.net", false, NULL) == false, "Hostname shouldn't match");
 }
 
 int