diff options
author | Jim King <jaseking@amazon.com> | 2023-01-18 11:54:30 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-30 10:56:14 +0200 |
commit | 34ef4fab22d93cf7ef1d6c2954a0bad19f323ea9 (patch) | |
tree | 3baf04654b7eaa0bb14f9acf8b8798cc24d5ec46 /CMakeLists.txt | |
parent | 1e3319a167d2f32d295603167486e9e88af9bb4e (diff) | |
download | curl-34ef4fab22d93cf7ef1d6c2954a0bad19f323ea9.tar.gz |
openssl: interop with AWS-LC
* Configure changes to detect AWS-LC
* CMakeLists.txt changes to detect AWS-LC
* Compile-time branches needed to support AWS-LC
* Correctly set OSSL_VERSION and report AWS-LC release number
* GitHub Actions script to build with autoconf and cmake against AWS-LC
AWS-LC is a BoringSSL/OpenSSL derivative
For more information see https://github.com/awslabs/aws-lc/
Closes #10320
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e3eaad34d..94eb5444b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ # # The following variables are available: # HAVE_RAND_EGD: `RAND_egd` present in OpenSSL +# HAVE_AWSLC: OpenSSL is AWS-LC # HAVE_BORINGSSL: OpenSSL is BoringSSL # HAVE_PK11_CREATEMANAGEDGENERICOBJECTL: `PK11_CreateManagedGenericObject` present in NSS # HAVE_SSL_CTX_SET_QUIC_METHOD: `SSL_CTX_set_quic_method` present in OpenSSL/wolfSSL @@ -473,6 +474,9 @@ if(CURL_USE_OPENSSL) if(NOT DEFINED HAVE_BORINGSSL) check_symbol_exists(OPENSSL_IS_BORINGSSL "openssl/base.h" HAVE_BORINGSSL) endif() + if(NOT DEFINED HAVE_AWSLC) + check_symbol_exists(OPENSSL_IS_AWSLC "openssl/base.h" HAVE_AWSLC) + endif() endif() if(CURL_USE_MBEDTLS) |