]> git.ipfire.org Git - thirdparty/curl.git/commit
version: allow building with ancient libpsl
authorPeter Krefting <peter@softwolves.pp.se>
Fri, 2 Feb 2024 22:22:32 +0000 (23:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 Feb 2024 08:50:35 +0000 (09:50 +0100)
commit174c89ec3f88ca710aa19de9b89371b55ee0e2d4
tree01e42807c018d662b36765f4ba42d23d8ceb223f
parent8050761e1a5288721215636ad81d8eb301cc98a4
version: allow building with ancient libpsl

The psl_check_version_number() API was added in libpsl 0.11.0. CentOS 7
ships with version 0.7.0 which lacks this API. Revert to using the older
versioning API if we detect an old libpsl version.

Follow-up to 72bd88adde0e8cf6e63644a7d6df1da01a399db4
Bug: https://curl.se/mail/archive-2024-02/0004.html
Reported-by: Scott Mutter
Closes #12872
lib/version.c