n ASN.1 decoding error.</p>

<p>All functions can also return -2 if the input is malformed. For example, X509_check_host() returns -2 if the provided <b>name</b> contains embedded NULs.</p>

<h1 id="NOTES">NOTES</h1>

<p>Applications are encouraged to use X509_VERIFY_PARAM_set1_host() rather than explicitly calling <a href="../man3/X509_check_host.html">X509_check_host(3)</a>. Hostname checks may be out of scope with the DANE-EE(3) certificate usage, and the internal checks will be suppressed as appropriate