X509_digest_sig
if ((digest = X509_digest_sig(ctx->certOut, NULL, NULL)) == NULL)
if ((certHash = X509_digest_sig(ctx->newCert, &md, &is_fallback)) == NULL)
ASN1_OCTET_STRING *X509_digest_sig(const X509 *cert,