Thomas-Tsai / partclone

Partclone provides utilities to backup a partition smartly and it is designed for higher compatibility of the file system by using existing library.
GNU General Public License v2.0
323 stars 107 forks source link

Fix using EVP OpenSSL API #166

Closed zboszor closed 2 years ago

zboszor commented 2 years ago

torrent_helper.h didn't have #include so the settings didn't actually take effect so the direct SHA1 API was still in use.

Also fix copy&paste errors that didn't turn up in the build but after adding #include to torrent_helper.h they did.

Signed-off-by: Zoltán Böszörményi zboszor@gmail.com

This is a follow up to #165 Sorry for the mess, I only actually tested the build before on a system with OpenSSL 1.1.1l.

zboszor commented 2 years ago

I have confirmed that with this change, partclone can be built with OpenSSL 3.0. It was tested with cross-compiling using Yocto 3.5 (current master branch, to be released in April 2022) that has OpenSSL 3.0.