From f498e9edc0804368fa065a6e5e5553011bf1e4b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <rafael.carre@savoirfairelinux.com> Date: Mon, 19 Sep 2011 14:03:29 -0400 Subject: [PATCH] gnome client: be sure key exchange is set correctly --- gnome/src/config/accountconfigdialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnome/src/config/accountconfigdialog.c b/gnome/src/config/accountconfigdialog.c index c8f329e1fe..a1d6d1f9cf 100644 --- a/gnome/src/config/accountconfigdialog.c +++ b/gnome/src/config/accountconfigdialog.c @@ -1399,8 +1399,10 @@ void show_account_window(account_t * currentAccount) g_hash_table_replace(currentAccount->properties, g_strdup(ACCOUNT_SRTP_ENABLED), g_strdup("true")); g_hash_table_replace(currentAccount->properties, g_strdup(ACCOUNT_KEY_EXCHANGE), g_strdup(SDES)); } - else + else { g_hash_table_replace(currentAccount->properties, g_strdup(ACCOUNT_SRTP_ENABLED), g_strdup("false")); + g_hash_table_replace(currentAccount->properties, g_strdup(ACCOUNT_KEY_EXCHANGE), g_strdup("")); + } g_free(keyExchange); -- GitLab