[vinagre/gnome-3-16] Change SPICE passwords limited to 60 characters
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre/gnome-3-16] Change SPICE passwords limited to 60 characters
- Date: Sat, 18 Apr 2015 12:20:42 +0000 (UTC)
commit 033ab86042925c56d349c87e50d6849694909e54
Author: Mike DePaulo <mikedep333 gmail com>
Date: Fri Apr 3 08:37:03 2015 -0400
Change SPICE passwords limited to 60 characters
The limit for SPICE passowrds is much more than 8 characters.
https://bugzilla.gnome.org/show_bug.cgi?id=747296
plugins/spice/vinagre-spice-tab.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/spice/vinagre-spice-tab.c b/plugins/spice/vinagre-spice-tab.c
index 0a26a00..38fb53b 100644
--- a/plugins/spice/vinagre-spice-tab.c
+++ b/plugins/spice/vinagre-spice-tab.c
@@ -36,6 +36,9 @@
#define VINAGRE_SPICE_TAB_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), VINAGRE_TYPE_SPICE_TAB,
VinagreSpiceTabPrivate))
+/* From spice-protocol.h */
+#define SPICE_MAX_PASSWORD_LENGTH 60
+
typedef struct _VinagreSpiceDisplay
{
GtkWidget *display;
@@ -299,7 +302,7 @@ spice_main_channel_event_cb(SpiceChannel *channel, SpiceChannelEvent event,
name,
FALSE,
TRUE,
- 8,
+ SPICE_MAX_PASSWORD_LENGTH,
NULL,
&password,
&save_in_keyring))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]