X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f77197ae2013bdb19593195588dfe4ed6bf66d3b..b7663a25f7748a8ed74209e2f6d801ee311b9252:/src/src/tls-openssl.c diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 083826674..ab76492bc 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -46,7 +46,6 @@ functions from the OpenSSL library. */ #endif #if OPENSSL_VERSION_NUMBER >= 0x10100000L # define EXIM_HAVE_OCSP_RESP_COUNT -# define EXIM_HAVE_OPENSSL_DH_BITS #else # define EXIM_HAVE_EPHEM_RSA_KEX # define EXIM_HAVE_RAND_PSEUDO @@ -70,6 +69,7 @@ functions from the OpenSSL library. */ #ifndef LIBRESSL_VERSION_NUMBER # if OPENSSL_VERSION_NUMBER >= 0x010100000L # define EXIM_HAVE_OPENSSL_CHECKHOST +# define EXIM_HAVE_OPENSSL_DH_BITS # endif # if OPENSSL_VERSION_NUMBER >= 0x010000000L \ && (OPENSSL_VERSION_NUMBER & 0x0000ff000L) >= 0x000002000L @@ -2577,7 +2577,7 @@ static uschar * corked = NULL; static int c_size = 0, c_len = 0; DEBUG(D_tls) debug_printf("%s(%p, %d%s)\n", __FUNCTION__, - buff, left, more ? ", more" : ""); + buff, len, more ? ", more" : ""); /* Lacking a CORK or MSG_MORE facility (such as GnuTLS has) we copy data when "more" is notified. This hack is only ok if small amounts are involved AND only