How to compile eapol_test on Apple Mac OS X

Gero Dittmann ged at zurich.ibm.com
Fri Apr 21 04:16:51 PDT 2017


It took me quite some time to figure out how to compile eapol_test on a 
Mac (Sierra). Could this be added to the documentation or home page?

All it took (IIRC) was to
* install OpenSSL using Homebrew and
* set the following options in .config (on top of defconfig) before 
compiling:

CFLAGS += -I/usr/local/opt/openssl/include
LIBS += -L/usr/local/opt/openssl/lib
CONFIG_EAPOL_TEST=y
CONFIG_L2_PACKET=freebsd
CONFIG_OSX=y

Thanks,
Gero.




More information about the Hostap mailing list