On Mon, 4 Dec 2017 11:19:05 +0100 Frank Elsner wrote:
> On Mon, 4 Dec 2017 09:59:13 +0000 Jeremy Harris wrote:
>   
>   [ ... ]
> 
> > Good so far.  Now start editing that file, adding "#warning foo" lines
> > in semirandom places between the start and the line that defines
> > X509_check_host().   I'm guessing there's some guarding "#ifdef" that
> > results in that line being skipped; if so the next job will be
> > to locate where the guard is defined.
> > 
> > Probably best to take a copy of the original before you
> > do any edits, for replacement later.
> 
> I guess by that file you mean "openssl/x509v3.h", right?

Forget the stupid question.

I've insertet the warning immediately before 

int X509_check_host(X509 *x, const char *chk, size_t chklen,
                    unsigned int flags, char **peername);

and the warning shows up 

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


Cheers, Frank

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to