X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9479146eba39483724dc791ad814efe829def406..4af0d74a886c7fbd4e3eec1743f4b1d2d8a4d457:/src/src/tls-openssl.c diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 65d608925..530266d36 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -1725,7 +1725,12 @@ if ((rc = setup_certs(ctx, ob->tls_verify_certificates, if (verify_check_given_host(&ob->tls_verify_cert_hostnames, host) == OK) { - cbinfo->verify_cert_hostnames = host->name; + cbinfo->verify_cert_hostnames = +#ifdef EXPERIMENTAL_INTERNATIONAL + string_domain_utf8_to_alabel(host->name, NULL); +#else + host->name; +#endif DEBUG(D_tls) debug_printf("Cert hostname to check: \"%s\"\n", cbinfo->verify_cert_hostnames); }