661
679
rc = gnutls_x509_crt_check_hostname(x509_cert, conn->host.name);
665
683
failf(data, "SSL: certificate subject name (%s) does not match "
666
684
"target host name '%s'", certbuf, conn->host.dispname);
667
685
gnutls_x509_crt_deinit(x509_cert);