]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP peer: Use ifdef PCSC_FUNCS to get rid of compiler warnings
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 15 Jan 2016 16:41:30 +0000 (18:41 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jan 2016 16:41:30 +0000 (18:41 +0200)
commit269f9d5d100b3963c6b94722da27920e5dca8a8d
treef9686a78565a33056a7eed73b47f80aaa977e6ee
parentc6e0b4bb86b7192b6ef23c1a51a5ee4fa09a4f68
EAP peer: Use ifdef PCSC_FUNCS to get rid of compiler warnings

clang started warning about the use of || with constants that came from
PCSC_FUNCS not being enabled in the build. It seems to be easier to just
ifdef this block out completely since that has the same outcome for
builds that do not include PC/SC support.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/eap_peer/eap_sim.c