it will be matched by a certificate valid for any sub-domain of <b>name</b>, (see also <b>X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS</b> below).</p>

<p>When the certificate is matched, and <b>peername</b> is not NULL, a pointer to a copy of the matching SAN or CN from the peer certificate is stored at the address passed in <b>peername</b>. The application is responsible for freeing the peername via OPENSSL_free() when it is no longer needed.</p>

<p>X509_check_email() checks if the certificate matches the spe