summaryrefslogtreecommitdiff
path: root/src/shared/openssl-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-06-22 23:15:46 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-24 15:09:14 +0200
commit4ef65db34b279d4ad7d9dc5f68acac0760f8e6c8 (patch)
treedda8f7380040831d1cbfecbb20613e8436b2da08 /src/shared/openssl-util.h
parentc1e4c62235926f98ede10c2531e30e3d11312033 (diff)
downloadsystemd-4ef65db34b279d4ad7d9dc5f68acac0760f8e6c8.tar.gz
openssl-util: include the headers the file actually uses definitions from
Diffstat (limited to 'src/shared/openssl-util.h')
-rw-r--r--src/shared/openssl-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/openssl-util.h b/src/shared/openssl-util.h
index 0f527e74c4..e6c2bd9310 100644
--- a/src/shared/openssl-util.h
+++ b/src/shared/openssl-util.h
@@ -4,7 +4,8 @@
#include "macro.h"
#if HAVE_OPENSSL
-# include <openssl/pem.h>
+# include <openssl/evp.h>
+# include <openssl/x509.h>
DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(X509*, X509_free, NULL);
DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(X509_NAME*, X509_NAME_free, NULL);