Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Freeradius fails to build on systems with LibreSSL.
FreeRadius try to link against function X509_get0_extensions() that does not exist on LibreSSl, so the following "if" clausure does not work correct for LibreSSL, since OpenSSL has a defined macro OPENSSL_VERSION_NUMBER for LibreSSL bigger than 0x10100000, and does not have X509_get0_extensions(): #if OPENSSL_VERSION_NUMBER >= 0x10100000L ext_list = X509_get0_extensions(client_cert); This patch guarantee that this check is not valid for LibreSSL, thus, using the fall back.
- Loading branch information