Skip to content

Commit

Permalink
Disable DTLS for GnuTLS build for now
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed May 29, 2012
1 parent bf14319 commit f4917c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dtls.c
Expand Up @@ -54,7 +54,7 @@ unsigned char unhex(const char *data)
return (nybble(data[0]) << 4) | nybble(data[1]);
}

#ifdef SSL_OP_CISCO_ANYCONNECT
#if defined (OPENCONNECT_OPENSSL) && defined (SSL_OP_CISCO_ANYCONNECT)
#if 0
/*
* Useful for catching test cases, where we want everything to be
Expand Down
2 changes: 1 addition & 1 deletion mainloop.c
Expand Up @@ -79,7 +79,7 @@ int vpn_mainloop(struct openconnect_info *vpninfo)
struct timeval tv;
fd_set rfds, wfds, efds;

#ifdef SSL_OP_CISCO_ANYCONNECT
#if defined(OPENCONNECT_OPENSSL) && defined(SSL_OP_CISCO_ANYCONNECT)
if (vpninfo->new_dtls_ssl)
dtls_try_handshake(vpninfo);

Expand Down

0 comments on commit f4917c0

Please sign in to comment.