]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/cmp/cmp_msg.c
Move OSSL_CMP_X509_digest() to x_all.c, renaming it to X509_digest_sig()
[thirdparty/openssl.git] / crypto / cmp / cmp_msg.c
index c608568130cf94a27ed524cd85ba024fe3a234d3..714c883a0db8d16c732dddfc11d78d27bdea2c59 100644 (file)
@@ -713,7 +713,7 @@ OSSL_CMP_MSG *ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int fail_info,
      * the hash of the certificate, using the same hash algorithm
      * as is used to create and verify the certificate signature
      */
-    if ((certHash = OSSL_CMP_X509_digest(ctx->newCert)) == NULL)
+    if ((certHash = X509_digest_sig(ctx->newCert)) == NULL)
         goto err;
 
     if (!ossl_cmp_certstatus_set0_certHash(certStatus, certHash))