You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zy...@apache.org on 2012/11/01 16:28:12 UTC

[1/4] git commit: fix http_load compile

Updated Branches:
  refs/heads/master 8ef0291bc -> 74dbd51d5


fix http_load compile


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

Branch: refs/heads/master
Commit: 74dbd51d51e6d90ef996602c72c57a3a1d913a9b
Parents: da5c758
Author: Zhao Yongming <mi...@gmail.com>
Authored: Thu Nov 1 22:50:00 2012 +0800
Committer: Zhao Yongming <mi...@gmail.com>
Committed: Thu Nov 1 22:50:00 2012 +0800

----------------------------------------------------------------------
 tools/http_load/http_load.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/74dbd51d/tools/http_load/http_load.c
----------------------------------------------------------------------
diff --git a/tools/http_load/http_load.c b/tools/http_load/http_load.c
index 9f61ef5..3435bb1 100644
--- a/tools/http_load/http_load.c
+++ b/tools/http_load/http_load.c
@@ -1168,11 +1168,13 @@ start_socket(int url_num, int cnum, struct timeval *nowP)
   }
 }
 
+#ifdef USE_SSL
 static int
 cert_verify_callback(int ok, X509_STORE_CTX *ctx)
 {
   return 1;
 }
+#endif
 
 static void
 handle_connect(int cnum, struct timeval *nowP, int double_check)