tests: Fix build without CONFIG_ERP=y
authorJouni Malinen <j@w1.fi>
Sun, 25 Oct 2015 22:42:14 +0000 (00:42 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 25 Oct 2015 22:42:14 +0000 (00:42 +0200)
commit8f3ea3175f80e75b326720f29b55a6888d8605cf
tree20fb569f4ada6adee524a2fe75f26ef41dfe6693
parent1248e58492300ac23e0072a4ca9e14ab8abee13c
tests: Fix build without CONFIG_ERP=y

hmac_sha256_kdf() got pulled in only if CONFIG_ERP=y is set. Fix
test_sha256() by making the test case conditional on the function being
present.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/crypto_module_tests.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile