diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-07 11:29:09 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-01-08 09:47:57 +0100 |
commit | 4e9119c52efd4800b51101fb1a378e626280d0e8 (patch) | |
tree | 90917d97657f24ebee399c617731f6f7d8be82a4 | |
parent | 31aac7a9d8f817708fa8b6ef2fb4f1a45e1affe1 (diff) | |
download | NetworkManager-4e9119c52efd4800b51101fb1a378e626280d0e8.tar.gz |
libnm: let nm_utils_security_valid() reject TKIP with SAE (WPA3)
SAE should always use CCMP.
-rw-r--r-- | libnm-core/nm-utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index cf5c1de28c..b6d085d961 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -1287,9 +1287,6 @@ nm_utils_security_valid (NMUtilsSecurityType type, if (!have_ap) return TRUE; if (ap_rsn & NM_802_11_AP_SEC_KEY_MGMT_SAE) { - if ( (ap_rsn & NM_802_11_AP_SEC_PAIR_TKIP) - && (wifi_caps & NM_WIFI_DEVICE_CAP_CIPHER_TKIP)) - return TRUE; if ( (ap_rsn & NM_802_11_AP_SEC_PAIR_CCMP) && (wifi_caps & NM_WIFI_DEVICE_CAP_CIPHER_CCMP)) return TRUE; |