repo: Remove leftover OpenSSL includes
authorDaiki Ueno <dueno@redhat.com>
Wed, 19 Jun 2024 19:41:18 +0000 (04:41 +0900)
committerDaiki Ueno <dueno@redhat.com>
Thu, 20 Jun 2024 06:06:49 +0000 (15:06 +0900)
This removes OpenSSL includes for PKCS#7, previously used to generate
fs-verity builtin signatures.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
src/libostree/ostree-repo-verity.c

index 0c85ad31191251a60abf00249897c3da8d5bad54..0823fd995824d6351fc7afcee9eb72256aef9a7d 100644 (file)
 #include <linux/fsverity.h>
 #endif
 
-#if defined(HAVE_OPENSSL)
-#include <openssl/bio.h>
-#include <openssl/engine.h>
-#include <openssl/err.h>
-#include <openssl/pem.h>
-#include <openssl/pkcs7.h>
-
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (X509, X509_free);
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (EVP_PKEY, EVP_PKEY_free);
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (BIO, BIO_free);
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (PKCS7, PKCS7_free);
-#endif
-
 gboolean
 _ostree_repo_parse_fsverity_config (OstreeRepo *self, GError **error)
 {