diff options
author | Arne Schwabe | 2023-12-11 18:05:49 +0100 |
---|---|---|
committer | Gert Doering | 2023-12-12 08:02:58 +0100 |
commit | 8656b85c7324fc9ae7f10a9f37227a58766aae33 (patch) | |
tree | 4f76ae94befd20216f1d77a10314a6df396eff3d /config.h.cmake.in | |
parent | 975ef50b9cdbfec70f61b258e76fd8549d7f83d5 (diff) | |
download | openvpn-8656b85c7324fc9ae7f10a9f37227a58766aae33.zip openvpn-8656b85c7324fc9ae7f10a9f37227a58766aae33.tar.gz |
Fix building mbed TLS with CMake and allow specifying custom directories
When installing mbed TLS 2.x and 3.x in parallel, it is useful to point
cmake to the version that should be used.
This fixes also building mbed TLS versions with cmake.
Change-Id: I7fd9e730e87210d2b7d090c8f9c7c6734bd7374e
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20231211170549.85749-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27763.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'config.h.cmake.in')
-rw-r--r-- | config.h.cmake.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config.h.cmake.in b/config.h.cmake.in index baf9556..6c846f2 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -378,11 +378,11 @@ don't. */ /* Define to 1 if you have the <vfork.h> header file. */ #undef HAVE_VFORK_H -/* we always assume a recent mbed TLS version */ -#define HAVE_MBEDTLS_PSA_CRYPTO_H 1 +/* Availability of different mbed TLS features and APIs */ +#cmakedefine01 HAVE_MBEDTLS_PSA_CRYPTO_H #define HAVE_MBEDTLS_SSL_TLS_PRF 1 -#define HAVE_MBEDTLS_SSL_SET_EXPORT_KEYS_CB 1 -#define HAVE_MBEDTLS_CTR_DRBG_UPDATE_RET 1 +#cmakedefine01 HAVE_MBEDTLS_SSL_SET_EXPORT_KEYS_CB +#cmakedefine01 HAVE_MBEDTLS_CTR_DRBG_UPDATE_RET /* Path to ifconfig tool */ #define IFCONFIG_PATH "@IFCONFIG_PATH@" |