developer | b139bb6 | 2022-06-20 12:43:59 +0800 | [diff] [blame] | 1 | --- a/wpa_supplicant/wpa_supplicant.c |
| 2 | +++ b/wpa_supplicant/wpa_supplicant.c |
| 3 | @@ -8104,6 +8104,7 @@ int wpas_network_disabled(struct wpa_sup |
| 4 | !ssid->mem_only_psk) |
| 5 | return 1; |
| 6 | |
| 7 | +#ifdef CONFIG_IEEE8021X_EAPOL |
| 8 | #ifdef CRYPTO_RSA_OAEP_SHA256 |
| 9 | if (ssid->eap.imsi_privacy_cert) { |
| 10 | struct crypto_rsa_key *key; |
| 11 | @@ -8121,7 +8122,7 @@ int wpas_network_disabled(struct wpa_sup |
| 12 | } |
| 13 | } |
| 14 | #endif /* CRYPTO_RSA_OAEP_SHA256 */ |
| 15 | - |
| 16 | +#endif /* CONFIG_IEEE8021X_EAPOL */ |
| 17 | return 0; |
| 18 | } |
| 19 | |