Error compiling pytests in Ubuntu 18.04
I'm getting the following error when compiling pytests in Ubuntu 18.04:
../tests/pytests/proxy/tls-proxy.c: In function 'tls_process_from_client':
../tests/pytests/proxy/tls-proxy.c:849:9: warning: implicit declaration of function 'tls_process_reauth'; did you mean 'tls_process_handshake'? [-Wimplicit-function-declaration]
ret = tls_process_reauth(client);
^~~~~~~~~~~~~~~~~~
tls_process_handshake
It seems that tls_process_reauth
is only declared when GNUTLS_VERSION_NUMBER
is greater than or equal to 0x030604
while in Ubuntu 18.04 the included version of GnuTLS has as value 0x030512
.