aboutsummaryrefslogtreecommitdiff
path: root/util/fipstools/CMakeLists.txt
diff options
context:
space:
mode:
authorBob Beck <bbe@google.com>2024-06-12 22:27:36 +0000
committerBob Beck <bbe@google.com>2024-06-24 20:24:21 +0000
commit26468aea6483135b156fb03a5693c495dbad2e0f (patch)
tree1ce556ffbbb1dae5ceef1b00538fcc2c80c048c6 /util/fipstools/CMakeLists.txt
parent7811fdc94b7ec146937e83f98d411157974ffa32 (diff)
downloadboringssl-26468aea6483135b156fb03a5693c495dbad2e0f.zip
boringssl-26468aea6483135b156fb03a5693c495dbad2e0f.tar.gz
boringssl-26468aea6483135b156fb03a5693c495dbad2e0f.tar.bz2
Fix test_fips in google3
This makes test_fips build and link even when not building FIPS. (as google3 does). The module hash function is just #defined away to abort() as we won't ever get that far when test_fips is actually run without FIPS. Change-Id: I5d55f0bd1b3f29298aaa6216ebee633e8b4ac6fe Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/69307 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'util/fipstools/CMakeLists.txt')
-rw-r--r--util/fipstools/CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/util/fipstools/CMakeLists.txt b/util/fipstools/CMakeLists.txt
index 87abf0a..69e1284 100644
--- a/util/fipstools/CMakeLists.txt
+++ b/util/fipstools/CMakeLists.txt
@@ -1,8 +1,6 @@
-if(FIPS)
- add_executable(
- test_fips
+add_executable(
+ test_fips
- test_fips.c
- )
- target_link_libraries(test_fips crypto)
-endif()
+ test_fips.c
+)
+target_link_libraries(test_fips crypto)