Skip to content

Commit

Permalink
Don't check for SSL_OP_CISCO_ANYCONNECT
Browse files Browse the repository at this point in the history
We don't use it with OpenSSL 1.1 and in some builds it might not be present.

And nobody in their right mind would ever care about an OpenSSL build so
old that it doesn't have it (i.e. before 0.9.8k).

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Aug 25, 2016
1 parent 64add3c commit 8206e4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openconnect-internal.h
Expand Up @@ -649,8 +649,7 @@ struct openconnect_info {
#define read_fd_monitored(_v, _n) FD_ISSET(_v->_n##_fd, &_v->_select_rfds)
#endif

#if (defined(DTLS_OPENSSL) && defined(SSL_OP_CISCO_ANYCONNECT)) || \
defined(DTLS_GNUTLS))
#if defined(DTLS_OPENSSL) || defined(DTLS_GNUTLS)
#define HAVE_DTLS 1
#endif

Expand Down

0 comments on commit 8206e4d

Please sign in to comment.