summaryrefslogtreecommitdiffstats
path: root/certs/Makefile
diff options
context:
space:
mode:
authorJan Stancek <jstancek@redhat.com>2024-07-12 09:11:14 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2024-09-20 18:49:52 +0200
commit300e6d4116f956b035281ec94297dc4dc8d4e1d3 (patch)
tree7bfa3b220232f522af51f76abc5ca1e46b8acf21 /certs/Makefile
parentKEYS: prevent NULL pointer dereference in find_asymmetric_key() (diff)
downloadlinux-300e6d4116f956b035281ec94297dc4dc8d4e1d3.tar.xz
linux-300e6d4116f956b035281ec94297dc4dc8d4e1d3.zip
sign-file,extract-cert: move common SSL helper functions to a header
Couple error handling helpers are repeated in both tools, so move them to a common header. Signed-off-by: Jan Stancek <jstancek@redhat.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com> Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'certs/Makefile')
-rw-r--r--certs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 1094e3860c2a..f6fa4d8d75e0 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -84,5 +84,5 @@ targets += x509_revocation_list
hostprogs := extract-cert
-HOSTCFLAGS_extract-cert.o = $(shell $(HOSTPKG_CONFIG) --cflags libcrypto 2> /dev/null)
+HOSTCFLAGS_extract-cert.o = $(shell $(HOSTPKG_CONFIG) --cflags libcrypto 2> /dev/null) -I$(srctree)/scripts
HOSTLDLIBS_extract-cert = $(shell $(HOSTPKG_CONFIG) --libs libcrypto 2> /dev/null || echo -lcrypto)