GnuTLS build fails without "--enable-debug"
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);
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.
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.
participants (2)
-
Anna (cybertailor) Vyalkova -
Urs Janßen