Skip to content

Commit

Permalink
Relax openssl version requirement
Browse files Browse the repository at this point in the history
And also delete the no longer needed include statements.
  • Loading branch information
mlschroe authored and pmatilai committed Apr 18, 2024
1 parent 3185d47 commit 200c91f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion rpmio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ else()
target_sources(librpmio PRIVATE rpmpgp_dummy.c)
endif()
if (WITH_OPENSSL)
find_package(OpenSSL 3.0.0 REQUIRED)
find_package(OpenSSL 1.0.2 REQUIRED)
target_sources(librpmio PRIVATE digest_openssl.c)
target_link_libraries(librpmio PRIVATE OpenSSL::Crypto)
else()
Expand Down
2 changes: 0 additions & 2 deletions rpmio/digest_openssl.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include "system.h"

#include <openssl/evp.h>
#include <openssl/core_names.h>
#include <openssl/param_build.h>
#include <rpm/rpmcrypto.h>
#include <rpm/rpmstring.h>

Expand Down

0 comments on commit 200c91f

Please sign in to comment.