aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-05-25 08:56:45 +0200
committerTheo Buehler <tb@openbsd.org>2024-05-25 13:49:18 +0200
commitf9874d49f651177d643cc86f8837db44c4a29558 (patch)
tree46e390fc24c101016532011a8b960903a4ee7b9b /CMakeLists.txt
parentf785e2954a847ebaa8559b65c2b5030489ce5556 (diff)
downloadportable-f9874d49f651177d643cc86f8837db44c4a29558.tar.gz
portable-f9874d49f651177d643cc86f8837db44c4a29558.tar.bz2
portable-f9874d49f651177d643cc86f8837db44c4a29558.zip
Remove timegm() compat
Now that all uses of gmtime_r() and timegm() have been converted to OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95fe601..438e622 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -255,11 +255,6 @@ if(HAVE_STRTONUM)
255 add_definitions(-DHAVE_STRTONUM) 255 add_definitions(-DHAVE_STRTONUM)
256endif() 256endif()
257 257
258check_function_exists(timegm HAVE_TIMEGM)
259if(HAVE_TIMEGM)
260 add_definitions(-DHAVE_TIMEGM)
261endif()
262
263check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) 258check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF)
264if(HAVE_ARC4RANDOM_BUF) 259if(HAVE_ARC4RANDOM_BUF)
265 add_definitions(-DHAVE_ARC4RANDOM_BUF) 260 add_definitions(-DHAVE_ARC4RANDOM_BUF)