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>.
>
> You'll need to work out why that isn't working for you.
Maybe that is beyond my ability.
In tls.c I find
| #ifdef USE_GNUTLS
| # include "tls-gnu.c"
| # include "tlscert-gnu.c"
|
| # define ssl_xfer_buffer (state_server.xfer_buffer)
| # define ssl_xfer_buffer_lwm (state_server.xfer_buffer_lwm)
| # define ssl_xfer_buffer_hwm (state_server.xfer_buffer_hwm)
| # define ssl_xfer_eof (state_server.xfer_eof)
| # define ssl_xfer_error (state_server.xfer_error)
|
| #else
| # include "tls-openssl.c"
| # include "tlscert-openssl.c"
| #endif