diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-03-10 10:12:15 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2010-03-14 15:35:02 +0200 |
commit | eea29361db0fcf399b9843c789a7eefae758159e (patch) | |
tree | ca3c97f7e2c244b2fb546f915237ea40e74074a0 /client/red_peer.h | |
parent | ffdf050cce98b3be61ccc44373441eff5915ad7f (diff) | |
download | spice-eea29361db0fcf399b9843c789a7eefae758159e.tar.gz spice-eea29361db0fcf399b9843c789a7eefae758159e.tar.xz spice-eea29361db0fcf399b9843c789a7eefae758159e.zip |
client: add command line support for ciphers, ca file, and host certificate subject #573371spice-client-0.4.2-2.el6
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 761aed1d..6a80f8cb 100644 --- a/client/red_peer.h +++ b/client/red_peer.h @@ -77,11 +77,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) { } @@ -102,6 +104,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); |