]> git.ipfire.org Git - thirdparty/systemd.git/commit
pe-binary: drop pe_hash() and friends when OpenSSL support is disabled
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 Oct 2025 07:33:11 +0000 (16:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 2 Nov 2025 07:07:46 +0000 (16:07 +0900)
commit09ae1c8ade40fec48d293ca406d5f727453e7a2a
tree465c92e5af9afe08ac5f9eb63ae5e29d4a1a352c
parentab9b3bec6a00e847c5bca2449c5baf5841251a11
pe-binary: drop pe_hash() and friends when OpenSSL support is disabled

These three functions are currently only used by sbsign, which requires
OpenSSL. Moreover, pe_hash() and uki_hash() anyway do not work if
OpenSSL is disabled. Let's only declare them when OpenSSL support is
enabled.
src/shared/pe-binary.c
src/shared/pe-binary.h