Sorry, some cut&paste error must have occured :-(
here ist the complete output again.
On Mon, 4 Dec 2017 12:11:29 +0100 Frank Elsner wrote:
[ ... ]
> Maybe I shorted the output too much. Here ist the complete output
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,
^~~~~~~~~~~~~~~
X509_check_trust
tls-openssl.c: In function ‘tls_expand_session_files’:
tls-openssl.c:1072:14: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
if (!cbinfo->is_server) /* client */
^~
tls-openssl.c:1092:15: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
if (cbinfo->is_server)
^~
tls-openssl.c:1115:15: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
if (cbinfo->is_server)
^~
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