]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - Android.mk
traffic-selector: Avoid out-of-bound array access when calculating range
[people/ms/strongswan.git] / Android.mk
index 663b363cfd02172e527663789218d341bfae8417..69869dfe6300a359683ef1071bfbb44b172973f7 100644 (file)
@@ -17,26 +17,25 @@ include $(CLEAR_VARS)
 # 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_CHARON_PLUGINS := android-log openssl fips-prf random nonce pubkey \
-       pkcs1 pkcs8 pem xcbc hmac kernel-netlink socket-default android \
+       pkcs1 pkcs8 pem xcbc hmac kernel-netlink socket-default android-dns \
        stroke eap-identity eap-mschapv2 eap-md5 eap-gtc
 
 ifneq ($(strongswan_BUILD_SCEPCLIENT),)
 # plugins loaded by scepclient
-strongswan_SCEPCLIENT_PLUGINS := openssl curl fips-prf random pkcs1 pem
+strongswan_SCEPCLIENT_PLUGINS := openssl curl fips-prf random pkcs1 pkcs7 pem
 endif
 
 strongswan_STARTER_PLUGINS := kernel-netlink
 
 # list of all plugins - used to enable them with the function below
 strongswan_PLUGINS := $(sort $(strongswan_CHARON_PLUGINS) \
-                            $(strongswan_STARTER_PLUGINS) \
-                            $(strongswan_SCEPCLIENT_PLUGINS))
+       $(strongswan_STARTER_PLUGINS) \
+       $(strongswan_SCEPCLIENT_PLUGINS))
 
 include $(LOCAL_PATH)/Android.common.mk
 
 # includes
 strongswan_PATH := $(LOCAL_PATH)
-libvstr_PATH := external/strongswan-support/vstr/include
 libcurl_PATH := external/strongswan-support/libcurl/include
 libgmp_PATH := external/strongswan-support/gmp
 openssl_PATH := external/openssl/include
@@ -61,15 +60,12 @@ strongswan_CFLAGS := \
        -DHAVE_ALLOCA_H \
        -DHAVE_ALLOCA \
        -DHAVE_CLOCK_GETTIME \
-       -DHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC \
+       -DHAVE_DLADDR \
        -DHAVE_PRCTL \
        -DHAVE_LINUX_UDP_H \
        -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 \
        -DCONFIG_H_INCLUDED \
        -DCAPABILITIES \
@@ -77,7 +73,7 @@ strongswan_CFLAGS := \
        -DMONOLITHIC \
        -DUSE_IKEV1 \
        -DUSE_IKEV2 \
-       -DUSE_VSTR \
+       -DUSE_BUILTIN_PRINTF \
        -DDEBUG \
        -DROUTING_TABLE=0 \
        -DROUTING_TABLE_PRIO=220 \
@@ -97,10 +93,11 @@ strongswan_CFLAGS += \
 strongswan_BUILD := \
        charon \
        libcharon \
-       libhydra \
        libstrongswan \
        libtncif \
-       libtnccs
+       libtnccs \
+       libimcv \
+       libtpmtss
 
 ifneq ($(strongswan_BUILD_STARTER),)
 strongswan_BUILD += \