Skip to content

Commit b37d1bf

Browse files
dhowellstorvalds
authored andcommitted
MODSIGN: perlify sign-file and merge in x509keyid
Turn sign-file into perl and merge in x509keyid. The latter doesn't need to be a separate script as it doesn't actually need to work out the SHA1 sum of the X.509 certificate itself, since it can get that from the X.509 certificate. Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9e78144 commit b37d1bf

File tree

3 files changed

+400
-347
lines changed

3 files changed

+400
-347
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ ifeq ($(CONFIG_MODULE_SIG),y)
723723
MODSECKEY = ./signing_key.priv
724724
MODPUBKEY = ./signing_key.x509
725725
export MODPUBKEY
726-
mod_sign_cmd = sh $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY) $(srctree)/scripts/x509keyid
726+
mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY)
727727
else
728728
mod_sign_cmd = true
729729
endif

0 commit comments

Comments
 (0)