summaryrefslogtreecommitdiff
path: root/gtk/spice-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/spice-channel.c')
-rw-r--r--gtk/spice-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index ecb8cf4..190fb56 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -285,7 +285,7 @@ static void spice_channel_send_auth(SpiceChannel *channel)
int nRSASize;
BIO *bioKey;
RSA *rsa;
- uint8_t *password = "";
+ const uint8_t *password = spice_session_get_password(c->session);
uint8_t *encrypted;
int rc;