diff options
author | Michal Marek <mmarek@suse.cz> | 2013-01-24 22:11:12 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-01-25 01:25:36 -0500 |
commit | 4bc9410c0cf5079219bdfa3295d83dfacefe1bb2 (patch) | |
tree | df6c60a1d43224b72ba05abb21210b6b57915fd1 /Makefile | |
parent | 227536740e5cb157fb9fa9b381178c7d34b95d3b (diff) |
MODSIGN: Specify the hash algorithm on sign-file command line
Make the script usable without a .config file.
Signed-off-by: Michal Marek <mmarek@suse.cz>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -723,7 +723,7 @@ ifeq ($(CONFIG_MODULE_SIG),y) | |||
723 | MODSECKEY = ./signing_key.priv | 723 | MODSECKEY = ./signing_key.priv |
724 | MODPUBKEY = ./signing_key.x509 | 724 | MODPUBKEY = ./signing_key.x509 |
725 | export MODPUBKEY | 725 | export MODPUBKEY |
726 | mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY) | 726 | mod_sign_cmd = perl $(srctree)/scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) |
727 | else | 727 | else |
728 | mod_sign_cmd = true | 728 | mod_sign_cmd = true |
729 | endif | 729 | endif |