On Thu, 30 Nov 2017 13:37:04 +0000 Jeremy Harris wrote:
> On 30/11/17 12:46, Frank Elsner wrote:
> > # grep -r X509_check_host /usr/include
> > /usr/include/mysql/private/ssl_compat.h:#define HAVE_X509_check_host 1
> > /usr/include/openssl/x509v3.h:int X509_check_host(X509 *x, const char *chk, size_t chklen,
>
> Good. It should be included via the path
> tls.c - tlscert-openssl.c - <openssl/x509v3.h>.
Hi Jeremy,
| On Thu, 30 Nov 2017 13:37:04 +0000 Jeremy Harris wrote:
| [ ... ]
|
| > Good. It should be included via the path
| > tls.c - tlscert-openssl.c - <openssl/x509v3.h>
and I followed your advice
| On Thu, 30 Nov 2017 15:26:35 +0000 Jeremy Harris wrote:
|
| [ ... ]
| > make FULLECHO=''
| >
| > Grab the full-length compile line for tls.c
| >
| > Dive into the build* directory.
| > Use that compile line, but replace the "-c" with "-E".
| > Grab the stdout to a file. Look through the file
| > for markers of file locations; one is added (among others) for
| > every fresh #include file starting - these have line number 1.
| >
| > Compare what the sequence of #included files should be from the
| > original source code files, with what gets done for that
| > bit of inclusion.
and found
# 1 "tlscert-openssl.c" 1
# 1 "/usr/include/openssl/x509v3.h" 1 3 4
which (for me) seems to be correct compared to the sequence mentioned
by you on Thu, 30 Nov 2017 13:37:04
Cheers,
Frank