Lines Matching refs:subject
430 * checks a 'really used' hostname and optionally a second expected subject
438 match_hostnames(X509 *cert, const char *hostname, const char *subject)
450 cert, hostname, subject);
453 if ((subject && (asn1_ip = a2i_IPADDRESS(subject )))
482 if (!strncasecmp(subject, str, len)
500 if ((subject && !strncasecmp(subject,
511 && subject
512 && (asn1_cn_ip = a2i_IPADDRESS(subject))
629 "from %s due to %s. Subject is \"%s\", fingerprint is"
639 if (cur_subjectline && !conn_info->subject)
640 conn_info->subject = cur_subjectline;
653 "Subject is \"%s\", fingerprint is \"%s\"",
660 "Subject is \"%s\", fingerprint is \"%s\"",
672 * then we check whether the hostname or configured subject matches the cert.
698 "depth is %d, preverify is %d, subject is %s, fingerprint "
726 * only log its subject and fingerprint
787 /* certificate chain OK. check subject/hostname */
789 conn_info->subject))
790 return accept_cert("matching hostname/subject",
796 /* chain not OK. check fingerprint/subject/hostname */
1185 if (copy_config_value_quoted("subject=\"",
1186 &(f->f_un.f_tls.tls_conn->subject), &p)
1216 "subject: %s, certfile: %s, fingerprint: %s\n",
1219 f->f_un.f_tls.tls_conn->subject,
1328 "%s (%s)", conn_info->hostname, conn_info->subject,
1853 FREEPTR(conn_info->subject);