summaryrefslogtreecommitdiff
path: root/gtk/spice-channel-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/spice-channel-priv.h')
-rw-r--r--gtk/spice-channel-priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/spice-channel-priv.h b/gtk/spice-channel-priv.h
index b7b5988..b411ca3 100644
--- a/gtk/spice-channel-priv.h
+++ b/gtk/spice-channel-priv.h
@@ -1,5 +1,7 @@
#include <pixman.h>
+#include <openssl/ssl.h>
+
#include "decode.h"
/* spice/common */
@@ -32,6 +34,7 @@ struct spice_msg_out {
enum spice_channel_state {
SPICE_CHANNEL_STATE_UNCONNECTED = 0,
+ SPICE_CHANNEL_STATE_TLS,
SPICE_CHANNEL_STATE_LINK_HDR,
SPICE_CHANNEL_STATE_LINK_MSG,
SPICE_CHANNEL_STATE_AUTH,
@@ -118,6 +121,8 @@ struct spice_channel {
spice_parse_channel_func_t parser;
SpiceMessageMarshallers *marshallers;
spice_watch *watch;
+ SSL_CTX *ctx;
+ SSL *ssl;
int protocol;
int tls;