Skip to content

Commit

Permalink
Remove class SHA1Hash, which is no longer used, remove OpenSSL require
Browse files Browse the repository at this point in the history
The class was used by the `dnf_sack_get_rpmdb_version` function, which was
removed. The `rpmdbCookie` function from librpm is used instead.
  • Loading branch information
jrohel authored and j-mracek committed Feb 4, 2022
1 parent 6fd718b commit 94ab063
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 70 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ endif()
# build dependencies
find_package(Gpgme REQUIRED)
find_package(LibSolv 0.6.30 REQUIRED COMPONENTS ext)
find_package(OpenSSL REQUIRED)


# build dependencies via pkg-config
Expand Down
1 change: 0 additions & 1 deletion libdnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ BuildRequires: pkgconfig(zck) >= 0.9.11
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
BuildRequires: pkgconfig(smartcols)
BuildRequires: gettext
Expand Down
1 change: 0 additions & 1 deletion libdnf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ target_link_libraries(libdnf
${GLIB_GIO_UNIX_LIBRARIES}
${LIBSOLV_LIBRARY}
${LIBSOLV_EXT_LIBRARY}
${OPENSSL_CRYPTO_LIBRARY}
${RPM_LIBRARIES}
${SCOLS_LIBRARIES}
${SQLite3_LIBRARIES}
Expand Down
1 change: 0 additions & 1 deletion libdnf/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
add_subdirectory(bgettext)
add_subdirectory(crypto)
add_subdirectory(iniparser)
add_subdirectory(regex)
add_subdirectory(sqlite3)
Expand Down
5 changes: 0 additions & 5 deletions libdnf/utils/crypto/CMakeLists.txt

This file was deleted.

36 changes: 0 additions & 36 deletions libdnf/utils/crypto/sha1.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions libdnf/utils/crypto/sha1.hpp

This file was deleted.

0 comments on commit 94ab063

Please sign in to comment.