diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0540bb8..7a414aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -302,8 +302,8 @@ if(HAVE_TIMINGSAFE_BCMP) | |||
302 | endif() | 302 | endif() |
303 | 303 | ||
304 | check_function_exists(timingsafe_memcmp HAVE_TIMINGSAFE_MEMCMP) | 304 | check_function_exists(timingsafe_memcmp HAVE_TIMINGSAFE_MEMCMP) |
305 | if(HAVE_MEMCMP) | 305 | if(HAVE_TIMINGSAFE_MEMCMP) |
306 | add_definitions(-DHAVE_MEMCMP) | 306 | add_definitions(-DHAVE_TIMINGSAFE_MEMCMP) |
307 | endif() | 307 | endif() |
308 | 308 | ||
309 | check_function_exists(memmem HAVE_MEMMEM) | 309 | check_function_exists(memmem HAVE_MEMMEM) |