diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-03-18 10:21:47 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-18 10:21:47 +0100 |
commit | 457693fcfac7c178bdc9ca23295aa52d815ea0d6 (patch) | |
tree | f3176bcb321373b2f8974f6dcdeceb4082dba0cf /client/red_peer.h | |
parent | f16e16393e128a335b5e2d22c21315881409e99f (diff) | |
download | spice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.tar.gz spice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.tar.xz spice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.zip |
client: add command line support for ciphers, ca file, and host certificate subject
Diffstat (limited to 'client/red_peer.h')
-rw-r--r-- | client/red_peer.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |