Commit Graph
24433 Commits
Author SHA1 Message Date
Evan Hunt ade69509e6 change "key" to "tsigkey" to silence "short global name" warning
(cherry picked from commit 0cc7aa250e)
(cherry picked from commit 9d99bf0f4b)
2018-04-22 12:59:06 -07:00
Evan Hunt 54f07c3b1a fix shadowed global variables
(cherry picked from commit 9ca3ab1168)
(cherry picked from commit 694a1486ca)
2018-04-22 12:59:06 -07:00
Evan Hunt a3c1b18794 fix duplicate include guard in dnsconf.h
- IMHO we should consider removing dnsconf.c and deprecating the
  /etc/dns.conf file, though, as I don't think it's likely anyone
  is using it

(cherry picked from commit a08ba418ef)
(cherry picked from commit b9db91aa64)
2018-04-22 12:59:06 -07:00
Evan Hunt 54c3af7598 Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in-v9_9' into 'v9_9'
Fix variable definitions in bin/tests/Makefile.in

Closes #193

See merge request isc-projects/bind9!183
2018-04-10 20:06:04 -07:00
Evan Hunt 0e2b568b69 Alter distclean rule to prevent recursing into the same directory twice
Commit f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit 0d784de16a.  However, this change
prevented any system tests from being run when "make test" is invoked.

We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.

(cherry picked from commit 93ee6b8a22)
2018-04-10 20:05:59 -07:00
Michał KępieńandEvan Hunt 5b2b47336d Fail CI pipeline when "make test" does not run any system tests
Apart from ensuring "make test" returns 0, also check whether any system
test output was generated as a result of running it.  This prevents the
CI job running system tests from succeeding unless it actually tests
something.

(cherry picked from commit 80ab2c0f22)
2018-04-10 20:04:56 -07:00
Mark Andrews 6166107a80 Merge branch 'ssl-double-free-v9_9' into 'v9_9'
Fix double free after keygen error in dnssec-keygen

Closes #109

See merge request isc-projects/bind9!70
2018-04-06 14:28:02 +10:00
Ondřej SurýandMark Andrews b703087d5a Add CHANGES entry
(cherry picked from commit ef2b2a6c92)
2018-04-06 14:27:48 +10:00
Ondřej SurýandMark Andrews 3c2f6922f5 A couple of more cleanups after free in opensslrsa_generate()
(cherry picked from commit d2b3188c61)
2018-04-06 14:27:23 +10:00
Petr MensikandMark Andrews fcb5795560 Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
(cherry picked from commit edaafacf36)
2018-04-06 14:27:23 +10:00
Petr MensikandMark Andrews 3bce97740f Fix double free on RSA_generate_key_ex failure
(cherry picked from commit 01cc622e7b)
2018-04-06 14:27:22 +10:00
Mark Andrews 1890455159 system should only be in SUBDIRS
(cherry picked from commit 342e146fe3)
2018-04-06 13:27:45 +10:00
Mark Andrews 3683026ffd Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c-v9_9' into 'v9_9'
Resolve "coverity: Dereferencing a null pointer in lib/dns/tests/rbt_test.c"

Closes #167

See merge request isc-projects/bind9!150
2018-03-20 09:56:09 +11:00
Mukund SivaramanandMark Andrews eb98f2759e Check return value of isc_mem_get()
(cherry picked from commit de3a4af1bf)
2018-03-20 09:56:09 +11:00
Ondřej SurýandMark Andrews f8af167008 Update libtool files to 2.4.6
(cherry picked from commit fe06778be7)
2018-03-19 13:02:26 +11:00
Ondřej Surý d774c9ee04 Merge branch '164-remove-openssl-warning-v9_9' into 'v9_9'
[v9_9] Remove useless OpenSSL warning from configure script

See merge request isc-projects/bind9!143
2018-03-17 10:50:13 -04:00
Ondřej Surý c599299cc9 Remove obsolete OpenSSL version check
(cherry picked from commit e9571d29af)
2018-03-17 14:44:14 +00:00
Evan Hunt da01100893 Merge branch 'copyrights' into v9_9 2018-03-15 18:56:26 -07:00
Evan Hunt ce137d2380 update file headers 2018-03-15 18:56:10 -07:00
Evan Hunt 6c02f55d59 ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:54:50 -07:00
Evan Hunt a19e6b9b21 Merge branch '157-cleanup-win-libtests-v9_9' into 'v9_9'
Resolve "Windows build fails"

Closes #157

See merge request isc-projects/bind9!131
2018-03-15 13:48:52 -07:00
Evan Hunt 1c2ecdfc44 remove references to lib/tests in the windows build
(cherry picked from commit e2bb9824f8)
2018-03-15 13:48:49 -07:00
Evan Hunt 0af7848dad Merge branch '154-fix-atomic-test-v9_9' into 'v9_9'
Resolve "Build failure on OSX with --disable-atomic --enable-developer"

Closes #154

See merge request isc-projects/bind9!130
2018-03-15 12:09:45 -07:00
Evan Hunt edb2282379 add an 'untested' case when none of the atomic operations are available
- this fixes a build failure introduced in change 4913 when
  compiling with ATF and --disable-atomic

(cherry picked from commit 1b3eac926e)
2018-03-15 12:09:45 -07:00
Evan Hunt 01e20887b3 Merge branch 'fix-copyright' into v9_9 2018-03-15 11:32:15 -07:00
Evan Hunt 5a21193fdd update file headers 2018-03-15 11:30:37 -07:00
Evan Hunt 7dc45efb62 some script updates were missing 2018-03-15 11:26:25 -07:00
Ondřej Surý f1736dd4bc Use /* FALLTHROUGH */ comment instead of __attribute__ ((fallthrough)) for consistency 2018-03-15 11:38:32 +01:00
Ondřej Surý ffb4e01b3b Merge branch 'fix-implicit-fallthrough-v9_9' into 'v9_9'
Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra

See merge request isc-projects/bind9!129
2018-03-15 04:35:12 -04:00
Ondřej Surý a5ea870265 Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra 2018-03-15 09:30:18 +01:00
Ondřej Surý 7d930fdb35 Merge branch 'fix-copyrights-v9_9' into v9_9 2018-03-15 09:29:27 +01:00
Ondřej Surý 9f830be501 update file headers to remove copyright years 2018-03-15 09:09:15 +01:00
Ondřej Surý 785194b46f Update scripts in util/ to drop the year information from the individual source files. 2018-03-15 09:07:00 +01:00
Evan Hunt 5bb02f5fbf Merge branch 'fix-relnotes-v99' into v9_9 2018-03-14 14:59:52 -07:00
Evan Hunt 6f81cec0d3 update Eol information 2018-03-14 14:59:27 -07:00
Evan Hunt 8d9202eff7 Merge branch 'branchsync' into 'v9_9'
update branchsync to deal with merge commits

See merge request isc-projects/bind9!127
2018-03-14 14:43:16 -07:00
Evan Hunt 8e19bc87ea updated branchsync to deal with merge commits
(cherry picked from commit fccf8ca2f6)
2018-03-14 14:42:28 -07:00
Ondřej Surý b6fa2721d5 Fix whitespace 2018-03-14 12:46:56 +01:00
Ondřej Surý fbb2cf47b3 Update copyrights 2018-03-14 12:46:25 +01:00
Ondřej Surý 6a95179879 [v9_10] Enable GitLab CI
(cherry picked from commit 5b7393ab588aee8dc64adb194f38eab6818aaa10)
(cherry picked from commit a14d0362df)
(cherry picked from commit a13586af5d)
2018-03-14 12:46:02 +01:00
Evan Hunt 76abb20018 Merge branch 'nothreads-fix' into 'v9_9'
Fix compiler warnings and test failures when building without threads

See merge request isc-projects/bind9!119
2018-03-10 10:37:55 -08:00
Evan Hunt 1beabb5bcb Fix compiler warnings and test failures when building without threads
(cherry picked from commit 56353aaf42)
2018-03-10 10:37:26 -08:00
Evan Hunt a6e5d9a2ca Merge branch 'clean-bin-tests-v9_9' into 'v9_9'
clean up bin/tests, convert unit tests to ATF

Closes #115

See merge request isc-projects/bind9!93
2018-03-09 23:52:26 -08:00
Evan Hunt e6c446bfba final cleanup
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note

(cherry picked from commit 86e00cbb71)
(cherry picked from commit 80834b5b90)
(cherry picked from commit 442c1530a3)
(cherry picked from commit 6fe8188cc3)
2018-03-09 23:35:02 -08:00
Evan Hunt 40d0aab21a reduce race risk in parallel builds
(cherry picked from commit 74347f4a55)
(cherry picked from commit 7f4e62d902)
(cherry picked from commit ade4face27)
(cherry picked from commit 544bb12a01)
2018-03-09 23:24:17 -08:00
Evan Hunt a00618aee5 remove lib/tests as nothing uses it anymore
(cherry picked from commit d132f73497)
(cherry picked from commit d35f62434a)
(cherry picked from commit 941946cf14)
(cherry picked from commit ec55b0136a)
2018-03-09 23:23:18 -08:00
Evan Hunt 2591c077f0 migrate t_dst signature test to lib/dns/tests/dst_test
(cherry picked from commit a4ebe83cdb)
(cherry picked from commit 4439c471d1)
(cherry picked from commit 57a5820dcc)
(cherry picked from commit dbc21e4393)
2018-03-09 23:22:04 -08:00
Evan Hunt a11252dbbc migrate t_db to lib/dns/tests/db_test
(cherry picked from commit f58ac8ada3)
(cherry picked from commit 56da937399)
(cherry picked from commit d3518e57b1)
(cherry picked from commit c5dbc0b727)
2018-03-09 23:20:11 -08:00
Evan Hunt 28d62b0a31 migrate t_names to lib/dns/tests/name_test
(cherry picked from commit 8ecf69ef7b)
(cherry picked from commit aefad99e1e)
(cherry picked from commit b2fef3b438)
(cherry picked from commit 2893e982ed)
2018-03-09 23:19:11 -08:00
Evan Hunt 20da3cd7e7 migrate t_rbt to lib/dns/tests/rbt_test
(cherry picked from commit 109546cbda)
(cherry picked from commit c505afd183)
(cherry picked from commit 42fa3932ab)
(cherry picked from commit 4c6818ff8e)
2018-03-09 23:17:36 -08:00