help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GnuTLS 3, BSD, netinet/ip.h


From: Nikos Mavrogiannopoulos
Subject: Re: GnuTLS 3, BSD, netinet/ip.h
Date: Wed, 23 May 2012 21:03:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

On 05/23/2012 03:03 AM, Phil Pennock wrote:

> On 2012-05-22 at 10:28 +0200, Nikos Mavrogiannopoulos wrote:
> [ EOF vs buffer overflow ]
>> We have separate error codes for these conditions in gnutls 3.0.x.
> 
> Ah, thanks.  FreeBSD Ports system and Ubuntu both lack GnuTLS 3, so I
> stuck to 2.12.
> 
> Building GnuTLS 3 on my dated FreeBSD 7 series install is failing, but
> when I check on a more recent (FreeBSD 9) system I see that the relevant
> type has been changed to avoid the issue.
> ----------------------------8< cut here >8------------------------------
>   CC     serv.o
> In file included from common.h:31,
>                  from serv.c:28:
> /usr/include/netinet/ip.h:162: error: expected specifier-qualifier-list 
> before 'n_long'
> serv.c: In function 'tcp_server':
> serv.c:1245: warning: cast to pointer from integer of different size
> *** Error code 1
> ----------------------------8< cut here >8------------------------------


It looks like an issue in the system rather than something that's worth
fixing in gnutls. So it is that the netinet/in.h is unusable on this
system? In that case could you submit to gnulib [0] your suggested patch?

[0]. http://www.gnu.org/software/gnulib/

regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]