aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2022-11-04 07:46:00 -0700
committerCopybara-Service <copybara-worker@google.com>2022-11-04 07:49:28 -0700
commit210459d30793933746e003e95bcaa36780d8d1ee (patch)
tree5a64e9f05c630d79758ea078f6720255d0185cbd /cmake
parente6123ced17bef5e9cc40e14723d23a0d3b0463ab (diff)
downloadtink-210459d30793933746e003e95bcaa36780d8d1ee.tar.gz
Require using OpensSSL 1.1.1x
Without EXCLUDE, find_package will be fine with OpenSSL 3.X.Y as well which isn't compatible with Tink. PiperOrigin-RevId: 486138471
Diffstat (limited to 'cmake')
-rw-r--r--cmake/TinkWorkspace.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/TinkWorkspace.cmake b/cmake/TinkWorkspace.cmake
index 08f5c25d3..79347295a 100644
--- a/cmake/TinkWorkspace.cmake
+++ b/cmake/TinkWorkspace.cmake
@@ -105,7 +105,7 @@ if (NOT TARGET crypto)
"$<BUILD_INTERFACE:${boringssl_SOURCE_DIR}/src/include>")
else()
# Support for ED25519 was added from 1.1.1.
- find_package(OpenSSL 1.1.1 REQUIRED)
+ find_package(OpenSSL 1.1.1 EXACT REQUIRED)
_create_interface_target(crypto OpenSSL::Crypto)
endif()
else()