Re: [exim] Exim 4.90 RC3 uploaded

Pàgina inicial
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
A: exim-users
Assumpte: Re: [exim] Exim 4.90 RC3 uploaded
On Mon, 4 Dec 2017 10:48:08 +0000 Jeremy Harris wrote:
> 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?


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_hos’; 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}’ haso 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}’ haso member named ‘is_server’
|      if (cbinfo->is_server)
|                ^~
| tls-openssl.c:1115:15: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ haso 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


I can't under stand the 
                         warning: implicit declaration of function ‘X509_check_hos’


In tls-openssl.c:444 the text reads

                          if ((rc = X509_check_host(cert, CCS name, 0,
                                                  ^
                                                  |


Confused, Frank