Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

module: Drop unused signature types

Only PKCS#7 signatures are used today.

Remove the unused enum values. As this enum is used in on-disk data,
preserve the numeric value.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>

authored by

Thomas Weißschuh and committed by
Sami Tolvanen
8988913a 137676d4

+1 -3
+1 -3
include/linux/module_signature.h
··· 15 15 #define MODULE_SIG_STRING "~Module signature appended~\n" 16 16 17 17 enum pkey_id_type { 18 - PKEY_ID_PGP, /* OpenPGP generated key ID */ 19 - PKEY_ID_X509, /* X.509 arbitrary subjectKeyIdentifier */ 20 - PKEY_ID_PKCS7, /* Signature in PKCS#7 message */ 18 + PKEY_ID_PKCS7 = 2, /* Signature in PKCS#7 message */ 21 19 }; 22 20 23 21 /*