aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@canonical.com>2012-08-02 16:22:54 +0800
committerJeremy Kerr <jeremy.kerr@canonical.com>2012-08-02 16:47:14 +0800
commitca05adbc772dd8eabfd5bd6b747db72b8ee80c6b (patch)
tree7aad206e9a9a5fc9fb2d4666665c538e22992379
parent953b00481f3957fc756a6dc7d10c570da32a08bc (diff)
downloadsbsigntools-ca05adbc772dd8eabfd5bd6b747db72b8ee80c6b.tar.gz
sbattach: fix missing openssl/evp.h header
sbattach.c was generating a warning on compile: ../sbattach.c: In function ‘main’: ../sbattach.c:247:2: warning: implicit declaration of function ‘OpenSSL_add_all_digests’ [-Wimplicit-function-declaration] OpenSSL_add_all_digests is defined in evp.h, so add the #include. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
-rw-r--r--sbattach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbattach.c b/sbattach.c
index 3d565f1..4110dc1 100644
--- a/sbattach.c
+++ b/sbattach.c
@@ -45,6 +45,7 @@
#include <getopt.h>
#include <openssl/pkcs7.h>
+#include <openssl/evp.h>
#include <openssl/err.h>
#include <ccan/talloc/talloc.h>