Unable to compile dtls.c file on master branch

David Woodhouse dwmw2 at infradead.org
Wed Oct 7 00:17:54 PDT 2015


On Wed, 2015-10-07 at 01:38 +0100, Kamil Skowron wrote:
> 
> I tried to compile newest master branch and this failed with error:
> 
>   CC       libopenconnect_la-dtls.lo
> dtls.c: In function 'dtls_try_handshake':
> dtls.c:341:3: error: 'c' undeclared (first use in this function)
>    c = openconnect_get_dtls_compression(vpninfo);
>    ^

Bad Nikos. No biscuit.

Annoyingly, when reviewing the commit which broke that, I had *noticed*
that no new variable 'c' was being declared in that case, and had
assumed that we were using an existing one. I even meant to check on
that, but forgot. And evidently only tested GnuTLS builds, under Linux
and MinGW.

Thanks for catching it. Should be fixed in git now.

But really, why aren't you using GnuTLS? :)

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5691 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20151007/6eb0b6df/attachment.bin>


More information about the openconnect-devel mailing list