]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
openssl-util: include the headers the file actually uses definitions from
authorLennart Poettering <lennart@poettering.net>
Tue, 22 Jun 2021 21:15:46 +0000 (23:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Jun 2021 13:09:14 +0000 (15:09 +0200)
src/shared/openssl-util.h

index 0f527e74c40982fb3b83c856dfc6f3a6ef17179e..e6c2bd9310b7359b51466cc789b08f26bda68ab9 100644 (file)
@@ -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);