d08efa08bd5d464d080773ecf54222c3b96abc84
[openwrt/staging/dedeckeh.git] / package / network / services / hostapd / patches / 991-fix-compile.patch
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