Lines Matching refs:dnsname
1067 char * dnsname; in Curl_verifyhost() local
1114 len = utf8asn1str(&dnsname, CURL_ASN1_IA5_STRING, in Curl_verifyhost()
1117 if(strlen(dnsname) == (size_t) len) in Curl_verifyhost()
1118 i = Curl_cert_hostcheck((const char *) dnsname, conn->host.name); in Curl_verifyhost()
1119 free(dnsname); in Curl_verifyhost()
1167 len = utf8asn1str(&dnsname, elem.tag, elem.beg, elem.end); in Curl_verifyhost()
1169 free(dnsname); in Curl_verifyhost()
1172 if(strlen(dnsname) != (size_t) len) /* Nul byte in string ? */ in Curl_verifyhost()
1174 else if(Curl_cert_hostcheck((const char *) dnsname, conn->host.name)) { in Curl_verifyhost()
1175 infof(data, "\t common name: %s (matched)\n", dnsname); in Curl_verifyhost()
1176 free(dnsname); in Curl_verifyhost()
1181 "target host name '%s'", dnsname, conn->host.dispname); in Curl_verifyhost()
1182 free(dnsname); in Curl_verifyhost()