Mark Andrews
97a680e5ce
document eol
2018-10-30 11:03:02 +11:00
Evan Hunt
dfe5d3330c
added stdatomic.h and md.h
2018-10-29 11:26:38 -07:00
Mark Andrews
561b780ba0
Only set IPV6_USE_MIN_MTU on IPv6.
2018-10-29 16:49:33 +11:00
Ondřej Surý
d6c50674bb
Remove last traces of DSA and NSEC3DSA algorithm, but restore the algnumber -> name mapping
2018-10-26 11:50:11 +02:00
Ondřej Surý
8efd394c80
Remove last bits of PKCS#11 DH support that has been already removed
2018-10-26 11:50:11 +02:00
Ondřej Surý
eb603cb021
Check for individual OpenSSL functions instead of relying on version number
2018-10-26 06:15:51 +02:00
Mark Andrews
632a0ae10b
EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free exist in OpenSSL 1.0.1
2018-10-26 10:01:14 +11:00
Ondřej Surý
68b49d87b2
Add md.h and md.c to Windows build files
2018-10-25 20:59:48 +02:00
Ondřej Surý
13888c93a4
Split isc_crc64 API test into separate unit test and convert it to cmocka
2018-10-25 08:16:24 +02:00
Ondřej Surý
b98ac2593c
Add generic hashed message authentication code API (isc_hmac) to replace specific HMAC functions hmacmd5/hmacsha1/hmacsha2...
2018-10-25 08:15:42 +02:00
Ondřej Surý
7fd3dc63de
Add generic message digest API (isc_md) to replace specific MD functions md5/sha1/sha256
2018-10-25 08:15:42 +02:00
Mark Andrews
afde30fe9b
expand the pool then copy over the old entries so we that failures do not break the old pool; also don't leak the new pool on error
2018-10-24 22:00:08 -04:00
Ondřej Surý
4b47958163
Fix typo in isc_rwlock_pause() on sparc
2018-10-23 09:29:03 +02:00
Evan Hunt
e839972ee2
address unresolved externals
2018-10-19 00:49:53 -07:00
Evan Hunt
3f35ab8567
remove references to methods and app_api.c
2018-10-19 00:28:53 -07:00
Evan Hunt
c609a67ac7
change to bool constants; also fixed style error
2018-10-18 20:42:25 -07:00
Evan Hunt
09f58ab63f
retain a minimal "methods" struct in the mctx
...
- this enables memory to be allocated and freed in dyndb modules
when named is linked statically. when we standardize on libtool,
this should become unnecessary.
- also, simplified the isc_mem_create/createx API by removing
extra compatibility functions
2018-10-18 09:19:12 +00:00
Evan Hunt
0e86fa16e8
complete removal of a few unneeded functions
...
- removed register functions from isc_app, isc_timer, isc_task
- added a task_p.h header for use by unit tests
2018-10-18 09:19:12 +00:00
Witold Kręcicki
38a127c35b
Remove layering from isc_task, isc_app, isc_socket, isc_timer, isc_mem
2018-10-18 09:19:12 +00:00
Witold Kręcicki
cdbac34cba
Get rid of isc_bind9 conditional
2018-10-18 09:19:12 +00:00
Ondřej Surý
5ccbb274d2
Remove HAVE_OPENSSL guard from openssl_shim.{c,h} and uncrustify it
2018-10-05 13:12:48 +02:00
Ondřej Surý
3994b1f9c2
Remove support for obsoleted and insecure DSA and DSA-NSEC3-SHA1 algorithms
2018-10-05 09:21:43 +02:00
Mark Andrews
f723a1247f
Undo implict promotion to 64 bits in our Windows implementation of atomic_load_explicit() by casting to uint_fast32_t.
2018-10-04 06:59:28 +10:00
Mark Andrews
d4cc0b98de
use PRIuFAST32 instead of PRIdFAST32
2018-10-03 07:59:18 +10:00
Zhaolong Zhang
21966423cd
Fix crash caused by race condition in timer creation
...
The race condition is the timer elapses before isc__timer_create()
returns the pointer to the caller. Assigning the return pointer before
enabling the timer will fix it.
2018-09-27 15:17:52 +02:00
Thomas Jach
f2d6b1b859
Couple additional Windows build fixes in VCX files
2018-09-26 09:34:34 +02:00
Mark Andrews
a1d8306e3a
add strlcat and strlcpy
2018-09-20 14:53:26 +10:00
Mark Andrews
be333e93ec
remove isc_string_strlcat and isc_string_strlcpy
2018-09-20 14:00:28 +10:00
Mark Andrews
0eda75fec0
don't typedef socklen_t for _MSC_VER >= 1914
2018-09-20 13:51:50 +10:00
Mark Andrews
81b133d963
avoid macro name collision with system defined macro
2018-09-10 09:18:17 +10:00
Evan Hunt
2c3b827e5d
<isc/string.h> instead of "isc/string.h"
2018-09-07 15:26:50 -07:00
Ondřej Surý
161b5dccae
Remove NEED_PTHREAD_SCOPE_SYSTEM define that was needed on older FreeBSDs
2018-09-07 12:17:40 +02:00
Ondřej Surý
2750799132
Assume socklen_t is always available on all supported platforms (except on Windows where it is typedefed to int32_t)
2018-09-07 12:17:40 +02:00
Ondřej Surý
5d8f9bf935
Always enable CALL_PTHREAD_SETCONCURRENCY as it is part of POSIX Threads
2018-09-07 12:17:40 +02:00
Ondřej Surý
927b65aa7f
Remove now dummy HAVE_UNIXWARE_SIGWAIT define
2018-09-07 12:17:40 +02:00
Ondřej Surý
c7b1e7fd08
Linux (glibc) has NPTL since LinuxThreads are no-more, so remove HAVE_LINUXTHREADS
2018-09-07 12:17:40 +02:00
Ondřej Surý
2f02552a93
Remove now dummy NEED_PTHREAD_INIT
2018-09-07 12:17:30 +02:00
Ondřej Surý
4d46f0f95d
Drop ISC_PLATFORM_USEDECLSPEC and IRS_PLATFORM_USEDECLSPEC as they are platform dependent and only unix vs win32 platform.h header difference is enough
2018-09-07 12:17:30 +02:00
Ondřej Surý
51b0d5d55e
Replace platform ISC_PLATFORM_HAVESTATNSEC with config ENABLE_STAT_NSEC
2018-09-07 12:17:30 +02:00
Ondřej Surý
f1d3055d7b
Replace platform ISC_PLATFORM_HAVETFO with config ENABLE_TCP_FASTOPEN
2018-09-07 12:17:30 +02:00
Ondřej Surý
092edb5b44
Replace platform ISC_PLATFORM_HAVEDEVPOLL with check for devpoll.h headers
2018-09-07 12:17:30 +02:00
Ondřej Surý
5d65392d18
Replace platform ISC_PLATFORM_HAVEEPOLL with config HAVE_EPOLL_CREATE1
2018-09-07 12:17:30 +02:00
Ondřej Surý
68f473a25e
Replace platform ISC_PLATFORM_HAVEKQUEUE with config HAVE_KQUEUE
2018-09-07 12:17:30 +02:00
Ondřej Surý
d00ef56dfa
Remove dummy ISC_PLATFORM_HAVESTRINGSH platform define
2018-09-07 12:17:30 +02:00
Ondřej Surý
47f18c7d50
Replace platform ISC_PLATFORM_NEEDSTRLCPY and ISC_PLATFORM_NEEDSTRLCAT with AC_CHECK_FUNCS call
2018-09-07 12:17:30 +02:00
Ondřej Surý
4014bc42dd
According to POSIX.1-2001, POSIX.1-2008 #include <sys/select.h> is correct way to get fd_set
2018-09-07 12:17:30 +02:00
Ondřej Surý
1333d4a71a
Remove dummy ISC_PLATFORM_HAVELIFCONF platform define
2018-09-07 12:17:30 +02:00
Ondřej Surý
0bea5c2baf
Replace platform.h ISC_PLATFORM_HAVEIFNAMETOINDEX with config HAVE_IF_NAMETOINDEX
2018-09-07 12:17:30 +02:00
Ondřej Surý
53d87175df
Remove dummy ISC_PLATFORM_HAVEIF_LADDRREQ platform define
2018-09-07 12:17:30 +02:00
Ondřej Surý
c798db0fcd
Remove dummy ISC_PLATFORM_HAVEIF_LADDRCONF define
2018-09-07 12:17:30 +02:00