X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/32bcb602b77fbf4a7a746f448663688694677adc..0851a3bbf4667081d47f5d85b6b3a5cb33cbdba6:/src/src/tls-gnu.c diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c index a351c34d6..fa489902a 100644 --- a/src/src/tls-gnu.c +++ b/src/src/tls-gnu.c @@ -2603,9 +2603,9 @@ if (verify_check_given_host(CUSS &ob->tls_verify_cert_hostnames, host) == OK) { state->exp_tls_verify_cert_hostnames = #ifdef SUPPORT_I18N - string_domain_utf8_to_alabel(host->name, NULL); + string_domain_utf8_to_alabel(host->certname, NULL); #else - host->name; + host->certname; #endif DEBUG(D_tls) debug_printf("TLS: server cert verification includes hostname: \"%s\".\n",