OpenSSL in Android 2.1+ lacks Elliptic Curve and ENGINE support.
authorTobias Brunner <tobias@strongswan.org>
Tue, 22 Jun 2010 14:15:10 +0000 (16:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 22 Jun 2010 14:15:10 +0000 (16:15 +0200)
Unfortunately, opensslconf.h was not changed accordingly.

Android.mk.in

index a5cc7df..b3e54a3 100644 (file)
@@ -42,6 +42,10 @@ strongswan_CFLAGS := \
        -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 \