[network-manager-openvpn/bg/bgo774730: 3/3] wip2



commit 2b30e3e30e6e4398c9f5b5077c78b643ea8fa208
Author: Beniamino Galvani <bgalvani redhat com>
Date:   Fri Dec 2 18:53:44 2016 +0100

    wip2

 properties/auth-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/properties/auth-helpers.c b/properties/auth-helpers.c
index e8a4562..4d9af9c 100644
--- a/properties/auth-helpers.c
+++ b/properties/auth-helpers.c
@@ -1068,7 +1068,7 @@ populate_cipher_combo (GtkComboBox *box, const char *user_cipher)
                        gtk_list_store_set (store, &iter,
                                            TLS_CIPHER_COL_NAME, *item,
                                            TLS_CIPHER_COL_DEFAULT, FALSE, -1);
-                       if (!user_added && user_cipher && !strcmp (*item, user_cipher)) {
+                       if (!user_added && user_cipher && !strcasecmp (*item, user_cipher)) {
                                gtk_combo_box_set_active_iter (box, &iter);
                                user_added = TRUE;
                        }
@@ -1153,7 +1153,7 @@ populate_hmacauth_combo (GtkComboBox *box, const char *hmacauth)
                                    HMACAUTH_COL_NAME, name,
                                    HMACAUTH_COL_VALUE, *item,
                                    HMACAUTH_COL_DEFAULT, FALSE, -1);
-               if (hmacauth && !strcmp (*item, hmacauth)) {
+               if (hmacauth && !strcasecmp (*item, hmacauth)) {
                        gtk_combo_box_set_active_iter (box, &iter);
                        active_initialized = TRUE;
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]