public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix certs compilation / export is_key_on_revocation_list
@ 2022-03-02 20:06 Bernd Schubert
  2022-03-02 20:19 ` Bernd Schubert
  0 siblings, 1 reply; 4+ messages in thread
From: Bernd Schubert @ 2022-03-02 20:06 UTC (permalink / raw)
  To: David Howells, "David Woodhouse <dwmw2", keyrings,
	Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

From: Bernd Schubert <bschubert@ddn.com>

Compilation of 5.17-rc7-master was failing with my .config
(actually taken from Ubuntus 5.17 package)

certs/system_keyring.o: In function `verify_pkcs7_message_sig':
linux/certs/system_keyring.c:224:
     undefined reference to `is_key_on_revocation_list'


That got fixed by exporting the 'is_key_on_revocation_list' symbol.


Signed-off-by: Bernd Schubert <bschubert@ddn.com>
---
  certs/blacklist.c |    1 +
  1 file changed, 1 insertion(+)

diff --git a/certs/blacklist.c b/certs/blacklist.c
index c9a435b15af4..ad39780e5150 100644
--- a/certs/blacklist.c
+++ b/certs/blacklist.c
@@ -192,6 +192,7 @@ int is_key_on_revocation_list(struct pkcs7_message *pkcs7)
  
  	return -ENOKEY;
  }
+EXPORT_SYMBOL_GPL(is_key_on_revocation_list);
  #endif
  
  /*

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 64088 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-01 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-02 20:06 [PATCH] fix certs compilation / export is_key_on_revocation_list Bernd Schubert
2022-03-02 20:19 ` Bernd Schubert
2022-03-29 10:09   ` Bernd Schubert
2022-04-01 12:56     ` Bernd Schubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox