]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
X509_ACERT_sign_ctx(): Remove superfluous reference
authorryuishii <uchina1oreryu@gmail.com>
Thu, 5 Dec 2024 06:48:51 +0000 (15:48 +0900)
committerTomas Mraz <tomas@openssl.org>
Thu, 26 Dec 2024 18:40:54 +0000 (19:40 +0100)
CLA: trivial

Fixes #26107

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26120)

crypto/x509/x_all.c

index d3f79591d74d10ef1dbbf337bd31f1bf64ba6a7e..845b53837edcb8e9b51da122d67e1d0e3b4a1e31 100644 (file)
@@ -204,7 +204,7 @@ int X509_ACERT_sign_ctx(X509_ACERT *x, EVP_MD_CTX *ctx)
 {
     return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_ACERT_INFO),
                               &x->sig_alg, &x->acinfo->signature, &x->signature,
-                              &x->acinfo, ctx);
+                              x->acinfo, ctx);
 }
 
 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md)