[PATCH 2/2] Fix broken !HAVE_DTLS build

Kevin Cernekee cernekee at gmail.com
Sun Jan 31 23:10:13 PST 2016


append_dtls_ciphers() needs to be implemented for all cases.

Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
---
 dtls.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dtls.c b/dtls.c
index f35d1a5..4acbac4 100644
--- a/dtls.c
+++ b/dtls.c
@@ -1330,5 +1330,11 @@ int dtls_mainloop(struct openconnect_info *vpninfo, int *timeout)
 }
 
 #else /* !HAVE_DTLS */
+
 #warning Your SSL library does not seem to support Cisco DTLS compatibility
+
+void append_dtls_ciphers(struct openconnect_info *vpninfo, struct oc_text_buf *buf)
+{
+}
+
 #endif
-- 
1.9.1




More information about the openconnect-devel mailing list