projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f810d8e
)
Warn about lack of DTLS compatibility at build time
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 17 Nov 2009 11:34:40 +0000
(11:34 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 17 Nov 2009 11:34:40 +0000
(11:34 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
dtls.c
patch
|
blob
|
history
diff --git
a/dtls.c
b/dtls.c
index
57a3faf
..
ecc5486
100644
(file)
--- a/
dtls.c
+++ b/
dtls.c
@@
-211,6
+211,7
@@
int connect_dtls_socket(struct openconnect_info *vpninfo)
SSL_set_bio(dtls_ssl, dtls_bio, dtls_bio);
#ifndef SSL_OP_CISCO_ANYCONNECT
+#warning Your version of OpenSSL does not seem to support Cisco DTLS compatibility
#define SSL_OP_CISCO_ANYCONNECT 0x8000
#endif
SSL_set_options(dtls_ssl, SSL_OP_CISCO_ANYCONNECT);