pub(crate) fn common_name_matches(
cert: &CertificateDer<'_>,
server_name: &ServerName<'_>,
) -> boolExpand description
Whether server_name exactly matches the certificate’s subject CN, which
OpenSSL checks when the certificate has no DNS subjectAltName. Wildcard CNs
are not matched.