[PATCH v2] openconnect: add DTLSv1 support.

openconnect at lakedaemon.net openconnect at lakedaemon.net
Mon Jul 18 16:10:29 EDT 2011


From: Jason Cooper <cyanogen at lakedaemon.net>

Change-Id: I9b2f972212dd78bf5d87ee866393732f7c62a971

Signed-off-by: Jason Cooper <cyanogen at lakedaemon.net>
---

v2:
	- Now that TPM engine suport is configurable in openconnect,
	  we don't need it in openssl.  So, we only need DTLSv1.

 apps/Android.mk         |    2 +-
 patches/apps_Android.mk |    2 +-
 ssl/Android.mk          |    7 +++++++
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/apps/Android.mk b/apps/Android.mk
index 06e07a2..181177d 100644
--- a/apps/Android.mk
+++ b/apps/Android.mk
@@ -69,7 +69,7 @@ include $(LOCAL_PATH)/../android-config.mk
 
 # These flags omit whole features from the commandline "openssl".
 # However, portions of these features are actually turned on.
-LOCAL_CFLAGS += -DOPENSSL_NO_DTLS1
+#LOCAL_CFLAGS += -DOPENSSL_NO_DTLS1
 
 
 LOCAL_MODULE:= openssl
diff --git a/patches/apps_Android.mk b/patches/apps_Android.mk
index 06e07a2..181177d 100644
--- a/patches/apps_Android.mk
+++ b/patches/apps_Android.mk
@@ -69,7 +69,7 @@ include $(LOCAL_PATH)/../android-config.mk
 
 # These flags omit whole features from the commandline "openssl".
 # However, portions of these features are actually turned on.
-LOCAL_CFLAGS += -DOPENSSL_NO_DTLS1
+#LOCAL_CFLAGS += -DOPENSSL_NO_DTLS1
 
 
 LOCAL_MODULE:= openssl
diff --git a/ssl/Android.mk b/ssl/Android.mk
index fb9d34c..b4b0392 100644
--- a/ssl/Android.mk
+++ b/ssl/Android.mk
@@ -6,6 +6,13 @@ local_c_includes := \
 	external/openssl/crypto
 
 local_src_files:= \
+	d1_both.c \
+	d1_meth.c \
+	d1_enc.c \
+	d1_lib.c \
+	d1_clnt.c \
+	d1_srvr.c \
+	d1_pkt.c \
 	s2_meth.c \
 	s2_srvr.c \
 	s2_clnt.c \
-- 
1.7.0.4




More information about the openconnect-devel mailing list