[gnome-control-center/gnome-3-26] network/eap-method-tls: Don't require a private key password
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-26] network/eap-method-tls: Don't require a private key password
- Date: Mon, 30 Oct 2017 17:18:10 +0000 (UTC)
commit 45a285b7d3f8f38d8b2320ac26f69d0a5d5e83c3
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Oct 30 18:04:23 2017 +0100
network/eap-method-tls: Don't require a private key password
The private key may be unencrypted or we might want to enable "always
ask".
https://bugzilla.gnome.org/show_bug.cgi?id=789660
panels/network/wireless-security/eap-method-tls.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/panels/network/wireless-security/eap-method-tls.c
b/panels/network/wireless-security/eap-method-tls.c
index 8d17fa4..ce6763b 100644
--- a/panels/network/wireless-security/eap-method-tls.c
+++ b/panels/network/wireless-security/eap-method-tls.c
@@ -89,15 +89,6 @@ validate (EAPMethod *parent, GError **error)
widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_tls_private_key_password_entry"));
g_assert (widget);
password = gtk_entry_get_text (GTK_ENTRY (widget));
- if (!password || !strlen (password)) {
- widget_set_error (widget);
- if (ret) {
- g_set_error_literal (error, NMA_ERROR, NMA_ERROR_GENERIC, _("invalid EAP-TLS
password: missing"));
- ret = FALSE;
- }
- } else {
- widget_unset_error (widget);
- }
if (!eap_method_validate_filepicker (parent->builder,
"eap_tls_private_key_button",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]