Lines Matching refs:hostname
356 char *hostname;
369 hostname = strdup(orig_hostname);
371 hostname_to_free = hostname;
377 hostname, cert_wild_card);
387 (NULL != strpbrk(hostname, delim)) &&
397 expected_label = strtok(hostname, delim);
400 NULL != hostname &&
416 hostname, cert_wild_card);
462 This extracts the first commonName and checks it against hostname.
465 check_cn (SSL *ssl, const char *hostname)
492 if (strcasecmp(cn_buf, hostname))
495 hostname, cn_buf);
509 Search for a hostname match in the SubjectAlternativeNames.
512 check_san (SSL *ssl, const char *hostname)
572 !strcasecmp(nval->value, hostname) ) ||
574 !strcasecmp(nval->value, hostname)))
583 ok = check_wildcard_match_rfc2595(hostname, nval->value);
608 check_name (SSL *ssl, const char *hostname)
611 ret = check_cn(ssl, hostname);
612 ret += check_san(ssl, hostname);
615 verb ("V: hostname verification passed\n");
617 die ("hostname verification failed for host %s!\n", host);
625 verify_signature (ssl_context *ssl, const char *hostname)
659 verify_signature (SSL *ssl, const char *hostname)
762 inspect_key (ssl_context *ssl, const char *hostname)
764 verify_signature (ssl, hostname);
771 inspect_key (SSL *ssl, const char *hostname)
774 verify_signature (ssl, hostname);
775 check_name (ssl, hostname);