# this is the list of plugins that are built into libstrongswan and charon
# also these plugins are loaded by default (if not changed in strongswan.conf)
-strongswan_PLUGINS := openssl fips-prf random x509 pubkey pkcs1 \
- pem xcbc hmac kernel-netlink socket-default android
+strongswan_PLUGINS := openssl fips-prf random pubkey pkcs1 \
+ pem xcbc hmac kernel-netlink socket-default android \
+ eap-identity eap-mschapv2 eap-md5
# helper macros to only add source files for plugins included in the list above
# source files are relative to the android.mk that called the macro
-DHAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY \
-DHAVE_IPSEC_MODE_BEET \
-DHAVE_IPSEC_DIR_FWD \
+ -DOPENSSL_NO_EC \
+ -DOPENSSL_NO_ECDSA \
+ -DOPENSSL_NO_ECDH \
+ -DOPENSSL_NO_ENGINE \
-DCAPABILITIES \
-DCAPABILITIES_NATIVE \
-DMONOLITHIC \
-DROUTING_TABLE_PRIO=220 \
-DVERSION=\"@PACKAGE_VERSION@\" \
-DPLUGINS='"$(strongswan_PLUGINS)"' \
+ -DPLUGINDIR=\"/system/bin/ipsec\" \
-DIPSEC_DIR=\"/system/bin\" \
-DIPSEC_PIDDIR=\"/data/misc/vpn\" \
-DSTRONGSWAN_CONF=\"/system/etc/strongswan.conf\" \
libcharon \
libhydra \
libstrongswan \
+ libtncif \
))