Linux Security Modules development
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: linux-security-module@vger.kernel.org
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: [PATCH] crypto: pkcs7: export verify_pkcs7_message_sig() as EXPORT_SYMBOL_GPL
Date: Sat, 23 May 2026 11:57:51 -0400	[thread overview]
Message-ID: <20260523155750.16157-2-paul@paul-moore.com> (raw)

For the sake of consistency with pther PKCS7 functions, export
verify_pkcs7_message_sig() as EXPORT_SYMBOL_GPL.

Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Fixes: 188cfb7ec81c ("crypto: pkcs7: add flag for validated trust on a signed info block")
Signed-off-by: Paul Moore <paul@paul-moore.com>
---
 certs/system_keyring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/certs/system_keyring.c b/certs/system_keyring.c
index 9bda49295bd0..e1268d0cffff 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -380,7 +380,7 @@ int verify_pkcs7_message_sig(const void *data, size_t len,
 	pr_devel("<==%s() = %d\n", __func__, ret);
 	return ret;
 }
-EXPORT_SYMBOL(verify_pkcs7_message_sig);
+EXPORT_SYMBOL_GPL(verify_pkcs7_message_sig);
 
 /**
  * verify_pkcs7_signature - Verify a PKCS#7-based signature on system data.
-- 
2.54.0


                 reply	other threads:[~2026-05-23 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260523155750.16157-2-paul@paul-moore.com \
    --to=paul@paul-moore.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox