On 04/12/17 10:25, Frank Elsner wrote:
> In file included from tlscert-openssl.c:18:0,
> from tls.c:123:
> /usr/include/openssl/x509v3.h: At top level:
> /usr/include/openssl/x509v3.h:701:2: warning: #warning foo [-Wcpp]
> #warning foo
> ^~~~~~~
> make[1]: *** [Makefile:797: tls.o] Error 1
And yet you're still getting the original problem warning:
> gcc tls.c
> In file included from tls.c:122:0:
> tls-openssl.c: In function ‘verify_callback’:
> tls-openssl.c:444:17: warning: implicit declaration of function ‘X509_check_host’; did you mean ‘X509_check_trust’? [-Wimplicit-function-declaration]
> if ((rc = X509_check_host(cert, CCS name, 0,
... and they are given in that sequence?
--
Jeremy