From 457693fcfac7c178bdc9ca23295aa52d815ea0d6 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Thu, 18 Mar 2010 10:21:47 +0100 Subject: client: add command line support for ciphers, ca file, and host certificate subject --- client/red_peer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/red_peer.h') diff --git a/client/red_peer.h b/client/red_peer.h index 091f51aa..d31ba972 100644 --- a/client/red_peer.h +++ b/client/red_peer.h @@ -72,11 +72,13 @@ public: }; ConnectionOptions(Type in_type, int in_port, int in_sport, - const HostAuthOptions& in_host_auth) + const HostAuthOptions& in_host_auth, + const std::string& in_ciphers) : type (in_type) , unsecure_port (in_port) , secure_port (in_sport) , host_auth (in_host_auth) + , ciphers (in_ciphers) { } @@ -97,6 +99,7 @@ public: int unsecure_port; int secure_port; HostAuthOptions host_auth; // for secure connection + std::string ciphers; }; void connect_unsecure(const char* host, int port); -- cgit