Fix ifdef condition for imsi_privacy_cert
CRYPTO_RSA_OAEP_SHA256 is not sufficient here since ssid->eap does not exist without IEEE8021X_EAPOL. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
2a9a61d6cd
commit
c97000933c
1 changed files with 2 additions and 0 deletions
|
@ -8014,6 +8014,7 @@ int wpas_network_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
|
|||
!ssid->mem_only_psk)
|
||||
return 1;
|
||||
|
||||
#ifdef IEEE8021X_EAPOL
|
||||
#ifdef CRYPTO_RSA_OAEP_SHA256
|
||||
if (ssid->eap.imsi_privacy_cert) {
|
||||
struct crypto_rsa_key *key;
|
||||
|
@ -8031,6 +8032,7 @@ int wpas_network_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
|
|||
}
|
||||
}
|
||||
#endif /* CRYPTO_RSA_OAEP_SHA256 */
|
||||
#endif /* IEEE8021X_EAPOL */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue