Commit 9476fa60 authored by Beniamino Galvani's avatar Beniamino Galvani

wireless-security: 'unknown' method requires non-empty secrets

secrets_hints can be a empty array when there are no hints.  See also
similar commit [1] for nmcli secret agent.


Fixes: 0173934c
parent 4bed055d
Pipeline #60889 passed with stages
in 7 minutes and 44 seconds
......@@ -499,7 +499,7 @@ ws_802_1x_auth_combo_init (WirelessSecurity *sec,
active = item;
if (secrets_hints) {
if (secrets_hints && secrets_hints[0]) {
EAPMethodSimple *em_hints;
em_hints = eap_method_simple_new (sec, connection, EAP_METHOD_SIMPLE_TYPE_UNKNOWN,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment