[network-manager-applet/lr/tls-domain-suffix-match-rh1457542: 1/12] wireless-security/tls: use the correct flags property for CA PIN



commit 2b197a754e8aae06a2439884f100e0cb1d7a0b89
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Jun 9 18:30:03 2017 +0200

    wireless-security/tls: use the correct flags property for CA PIN

 src/wireless-security/eap-method-tls.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wireless-security/eap-method-tls.c b/src/wireless-security/eap-method-tls.c
index 210780b..4e9e6b6 100644
--- a/src/wireless-security/eap-method-tls.c
+++ b/src/wireless-security/eap-method-tls.c
@@ -479,8 +479,8 @@ eap_method_tls_new (WirelessSecurity *ws_parent,
 #if LIBNM_BUILD
 /* libnm-glib doesn't support these. */
        method->ca_cert_password_flags_name = phase2
-                                             ? NM_SETTING_802_1X_PHASE2_CLIENT_CERT_PASSWORD
-                                             : NM_SETTING_802_1X_CLIENT_CERT_PASSWORD;
+                                             ? NM_SETTING_802_1X_PHASE2_CA_CERT_PASSWORD
+                                             : NM_SETTING_802_1X_CA_CERT_PASSWORD;
        method->client_cert_password_flags_name = phase2
                                                  ? NM_SETTING_802_1X_PHASE2_CLIENT_CERT_PASSWORD
                                                  : NM_SETTING_802_1X_CLIENT_CERT_PASSWORD;


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