aboutsummaryrefslogtreecommitdiffstats
path: root/fbench/src/geturl/geturl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fbench/src/geturl/geturl.cpp')
-rw-r--r--fbench/src/geturl/geturl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/fbench/src/geturl/geturl.cpp b/fbench/src/geturl/geturl.cpp
index f279b0b55c8..868d33f30a9 100644
--- a/fbench/src/geturl/geturl.cpp
+++ b/fbench/src/geturl/geturl.cpp
@@ -1,4 +1,6 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#include <vespa/vespalib/net/crypto_engine.h>
#include <httpclient/httpclient.h>
#include <iostream>
@@ -10,7 +12,8 @@ main(int argc, char** argv)
return -1;
}
- HTTPClient client(argv[1], atoi(argv[2]), false, false);
+ auto engine = std::make_shared<vespalib::NullCryptoEngine>();
+ HTTPClient client(engine, argv[1], atoi(argv[2]), false, false);
if (!client.Fetch(argv[3], &std::cout).Ok()) {
fprintf(stderr, "geturl: could not fetch 'http://%s:%d%s'\n",
argv[1], atoi(argv[2]), argv[3]);