digest will be copied and is assumed to be large enough; the constant <b>EVP_MAX_MD_SIZE</b> is suggested. The <i>len</i> parameter, if not NULL, points to a place where the digest size will be stored.</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>X509_digest_sig() returns an ASN1_OCTET_STRING pointer on success, else NULL.</p>

<p>All other functions described here return 1 for success and 0 for failure.</p>

<h1 id="SEE-ALSO">SEE ALSO</h1>

<p><a href="../man3/EVP_sha1.html">EVP_sha1(3)</a></p>

<h1 