Oops. Including header files which are only available in GnuTLS v3 is
probably not cunning, if we're building with OpenSSL or with GnuTLS v2.
Pointed out by Stuart Henderson (thanks).
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
#include "openconnect-internal.h"
-#include <gnutls/dtls.h>
-
static unsigned char nybble(unsigned char n)
{
if (n >= '0' && n <= '9') return n - '0';
}
#elif defined (DTLS_GNUTLS)
+#include <gnutls/dtls.h>
+
struct {
const char *name;
gnutls_cipher_algorithm_t cipher;
<ul>
<li><b>OpenConnect HEAD</b>
<ul>
- <li><i>No changelog entries yet</i></li>
+ <li>Fix build failure due to unconditional inclusion of <tt>&lt;gnutls/dtls.h&gt;</tt>.</li>
</ul><br/>
</li>
<li><b><a href="ftp://ftp.infradead.org/pub/openconnect/openconnect-4.01.tar.gz">OpenConnect v4.01</a></b>