eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6f62056fcfca4e15bb120b257677140fed58fd2f
parent a9c32d85ea6a6fb8382340bb670c37ffe7fda7b7
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Wed, 27 Jan 2021 15:02:25 +0100

eap-tls: Use the right variable in settings check

Diffstat:
Msrc/eap-tls.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eap-tls.c b/src/eap-tls.c @@ -174,7 +174,7 @@ static int eap_tls_settings_check(struct l_settings *settings, * Check whether the combination of settings that are present/missing * makes sense before validating each setting. */ - if (bundle_value && (priv_key_value || client_cert)) { + if (bundle_value && (priv_key_value || client_cert_value)) { l_error("Either %s or %s/%s can be used, not both", bundle_setting, priv_key_setting, client_cert_setting); ret = -EEXIST; @@ -184,7 +184,7 @@ static int eap_tls_settings_check(struct l_settings *settings, priv_key_setting, client_cert_setting); ret = -ENOENT; goto done; - } else if (!priv_key_value && client_cert) { + } else if (!priv_key_value && client_cert_value) { l_error("%s present but no client private key (%s)", client_cert_setting, priv_key_setting); ret = -ENOENT;