]> git.ozlabs.org Git - ppp.git/commit
pppd: Fix build without OpenSSL (#533)
authorTomas Paukrt <44699103+tpaukrt@users.noreply.github.com>
Thu, 21 Nov 2024 02:53:28 +0000 (03:53 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 02:53:28 +0000 (13:53 +1100)
commit5f6eabdb6666d914e0f8feb3facfa591dee75a1f
tree5030374398ef084d0deb41a4dafa868d8d8fa176
parent616102e93be1c629821cafd83a89d9e6c0467033
pppd: Fix build without OpenSSL (#533)

The symbol OPENSSL_VERSION_NUMBER is not defined when pppd is
compiled without OpenSSL support, so it evaluates to zero.
This results in the following linker error:

crypto.c:241: undefined reference to `ERR_free_strings'

Signed-off-by: Tomas Paukrt <tomaspaukrt@email.cz>
pppd/crypto.c