mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
curl: Work around missing OpenSSL symbol on machine with LCC 1.23
On a nightly build using LCC 1.23, OpenSSL 2.0.0 is found but does not seem to have the `X509_STORE_up_ref` symbol used by curl 7.87. Pending further investigation, disable use of the symbol based on the compiler version.
This commit is contained in:
@@ -271,6 +271,12 @@
|
|||||||
#define HAVE_SSL_X509_STORE_SHARE
|
#define HAVE_SSL_X509_STORE_SHARE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* FIXME: On a specific machine using LCC 1.23, OpenSSL 2.0.0
|
||||||
|
* is found but does not seem to have X509_STORE_up_ref. */
|
||||||
|
#if defined(__LCC__) && defined(__EDG__) && (__LCC__ == 123)
|
||||||
|
#undef HAVE_SSL_X509_STORE_SHARE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* What API version do we use? */
|
/* What API version do we use? */
|
||||||
#if defined(LIBRESSL_VERSION_NUMBER)
|
#if defined(LIBRESSL_VERSION_NUMBER)
|
||||||
#define USE_PRE_1_1_API (LIBRESSL_VERSION_NUMBER < 0x2070000f)
|
#define USE_PRE_1_1_API (LIBRESSL_VERSION_NUMBER < 0x2070000f)
|
||||||
|
|||||||
Reference in New Issue
Block a user