summaryrefslogtreecommitdiffstats
path: root/scripts/extract-cert.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-09-25 17:31:45 +0200
committerDavid Howells <dhowells@redhat.com>2015-09-25 17:31:45 +0200
commit292c6091353475d94e2cfb49c29906e88ee967ba (patch)
treed21bb5a2574949283900b0b3241d375504cc66ae /scripts/extract-cert.c
parentKEYS: Fix race between key destruction and finding a keyring by name (diff)
downloadlinux-292c6091353475d94e2cfb49c29906e88ee967ba.tar.xz
linux-292c6091353475d94e2cfb49c29906e88ee967ba.zip
KEYS: Remove unnecessary header #inclusions from extract-cert.c
Remove headers #included unnecessarily from extract-cert.c lest they cause compilation of the tool to fail against an older OpenSSL library. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'scripts/extract-cert.c')
-rw-r--r--scripts/extract-cert.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/extract-cert.c b/scripts/extract-cert.c
index 6ce5945a0b89..b071bf476fea 100644
--- a/scripts/extract-cert.c
+++ b/scripts/extract-cert.c
@@ -17,13 +17,9 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
-#include <getopt.h>
#include <err.h>
-#include <arpa/inet.h>
#include <openssl/bio.h>
-#include <openssl/evp.h>
#include <openssl/pem.h>
-#include <openssl/pkcs7.h>
#include <openssl/err.h>
#include <openssl/engine.h>