[tin-bugs] GnuTLS build fails without "--enable-debug"

Anna (cybertailor) Vyalkova cyber at sysrq.in
Sat Jan 14 08:51:48 CET 2023


On 2023-01-14 03:53, Urs Janßen wrote:
> On Sat, Jan 14, 2023 at 02:26:10AM +0500, Anna (cybertailor) Vyalkova wrote:
> > Steps to reproduce:
> > 
> > 1. ./configure --with-nntps=gnutls --disable-debug
> > 2. make
> > 3. make install
> > 
> > ./nntps.c:281:53: error: 'verification_func' undeclared (first use in this function)
> >   281 |         gnutls_session_set_verify_function(client, &verification_func);
> > 
> 
> you need to have GnuTLS >= 3.7.0.

I have GnuTLS 3.7.8 installed.
This bug was also reproduced by juippis.

The problem is, necessary function definitions are hidden behind debug
ifdefs.




More information about the tin-bugs mailing list