OpenConnect 5.99 release

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Mar 6 04:02:30 EST 2014


On Thu, Mar 6, 2014 at 3:54 AM, Mike Miller <mtmiller at ieee.org> wrote:
> On Wed, Mar 05, 2014 at 11:29:59 +0000, David Woodhouse wrote:
>> I'm not entirely convinced that the x.99 "releases" actually get that
>> much worthwhile testing, but they certainly don't hurt. Mostly this is a
>> call for Kevin and Nikos to bug me about anything they still have
>> outstanding that they really want in the 6.00 release...
>
> Well, fails to build on Debian with gnutls 2.12.23 (I know, I know):
>
> gnutls.c: In function 'openconnect_SSL_read':
> gnutls.c:119:22: error: 'GNUTLS_E_PREMATURE_TERMINATION' undeclared (first use in this function)
> Does this bump the requirement for minimum gnutls version or can we work
> around this?

I believe you can get away with it by doing a:
#if GNUTLS_VERSION_NUMBER < 0x030000
#define GNUTLS_E_PREMATURE_TERMINATION GNUTLS_E_UNEXPECTED_PACKET_LENGTH
#endif

regards,
Nikos



More information about the openconnect-devel mailing list