* [PATCH] eap-tls: Use the right variable in settings check
@ 2021-01-27 14:02 Andrew Zaborowski
2021-01-27 15:53 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Zaborowski @ 2021-01-27 14:02 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]
---
src/eap-tls.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/eap-tls.c b/src/eap-tls.c
index ac7650dc..b20a1b39 100644
--- 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;
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] eap-tls: Use the right variable in settings check
2021-01-27 14:02 [PATCH] eap-tls: Use the right variable in settings check Andrew Zaborowski
@ 2021-01-27 15:53 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2021-01-27 15:53 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
Hi Andrew,
On 1/27/21 8:02 AM, Andrew Zaborowski wrote:
> ---
> src/eap-tls.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-27 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 14:02 [PATCH] eap-tls: Use the right variable in settings check Andrew Zaborowski
2021-01-27 15:53 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.