mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
eap-tls-common: Don't fail with omitted EAP-TLS-CACert
iwd would fail to connect using EAP-TLS when no CA certificate was provided as it checked for successful loading of the CA certificate instead of the client certificate when attempting to load the client certificate.
This commit is contained in:
parent
9dccec8566
commit
eb7845ec29
@ -1138,7 +1138,7 @@ bool eap_tls_common_settings_load(struct eap_state *eap,
|
||||
if (value) {
|
||||
eap_tls->client_cert = eap_tls_load_client_cert(settings,
|
||||
value);
|
||||
if (!eap_tls->ca_cert) {
|
||||
if (!eap_tls->client_cert) {
|
||||
l_error("Could not load ClientCert %s", value);
|
||||
goto load_error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user