tools: update arguments
Modify the tools to take the certificate and private key directly as arguments, rather than the path to the directory that contains them.
Change-Id: I18010c27379d8e985b596bed0159155343265112
diff --git a/tools/dsh/dsh.h b/tools/dsh/dsh.h
index dd6a4ea..ec983a2 100644
--- a/tools/dsh/dsh.h
+++ b/tools/dsh/dsh.h
@@ -27,8 +27,7 @@
{
public:
// Build a server
- Dsh(const std::filesystem::path& path,
- dht::crypto::Identity identity,
+ Dsh(dht::crypto::Identity identity,
const std::string& bootstrap,
const std::string& turn_host,
const std::string& turn_user,
@@ -36,8 +35,7 @@
const std::string& turn_realm,
const bool anonymous);
// Build a client
- Dsh(const std::filesystem::path& path,
- dht::crypto::Identity identity,
+ Dsh(dht::crypto::Identity identity,
const std::string& bootstrap,
dht::InfoHash peer_id,
const std::string& binary,