Skip to content

Commit 92766f7

Browse files
committed
dhtproxy: update to new api & list ssl args
1 parent ca20bbd commit 92766f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/httptester.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ HttpTester::setUp() {
4242

4343
serverProxy = std::unique_ptr<dht::DhtProxyServer>(
4444
new dht::DhtProxyServer(
45-
/*http*/dht::crypto::Identity{}, nodeProxy, 8080, /*pushServer*/"127.0.0.1:8090", logger));
45+
/*http*/dht::crypto::Identity{}, nodeProxy, 8080, /*pushServer*/"127.0.0.1:8090", "", logger));
4646

4747
}
4848

tools/dhtnode.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void print_version() {
4040
}
4141

4242
void print_usage() {
43-
std::cout << "Usage: dhtnode [-v [-l logfile]] [-i] [-d] [-n network_id] [-p local_port] [-b bootstrap_host[:port]] [--proxyserver local_port] [--proxyserverssl local_port]" << std::endl << std::endl;
43+
std::cout << "Usage: dhtnode [-v [-l logfile]] [-i] [-d] [-n network_id] [-p local_port] [-b bootstrap_host[:port]] [--proxyserver local_port] [--proxyserverssl local_port] [--proxy--certificate proxy_ca] [--proxy-privkey privkey] [--proxy-privkey-password privkey_password] [--proxy-client-certificate client_certicates]" << std::endl << std::endl;
4444
print_info();
4545
}
4646

0 commit comments

Comments
 (0)