X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/571207f1c21781059cec32aefd0da4f3f70081f7..c065180cc7302a6d0ef7db9272ead690a3f97c01:/src/src/tls-openssl.c diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 7643c4c36..877069953 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -4024,7 +4024,10 @@ if (ob->tls_alpn) #endif #ifndef DISABLE_TLS_RESUME -if (verify_check_given_host(CUSS &ob->tls_resumption_hosts, host) == OK) +if (continue_hostname) /* no host_lbserver available for tls_client_resmption_key() */ + /*XXX another cmdline arg possibly, but use will be very low */ + { DEBUG(D_tls) debug_printf("resumption not supported on continued-connection\n"); } +else if (verify_check_given_host(CUSS &ob->tls_resumption_hosts, host) == OK) tls_client_ctx_resume_prehandshake(exim_client_ctx, conn_args, tlsp, ob); #endif