Mark Andrews
8801c65a4b
insist option != NULL and initalise last to NULL
2018-05-03 11:08:59 -04:00
Evan Hunt
9ca3ab1168
fix shadowed global variables
2018-04-20 19:51:00 -04:00
Ondřej Surý
5311a3b7b5
We use too old Visual Compiler to use scoped variables
2018-04-12 10:37:33 +02:00
Ondřej Surý
921d05ddcf
Replace usage of strsep with POSIX strtok_r()
2018-04-12 10:37:33 +02:00
Michał Kępień
4df4a8e731
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
702c022016
libdns refactoring: get rid of multiple versions of dns_xfrin_create, dst_key_generate, dst_lib_init and dst_context_create
2018-04-06 08:04:41 +02:00
Witold Kręcicki
8c12e488f7
libdns refactoring: get rid of multiple versions of dns_request_createraw and dns_request_createvia
2018-04-06 08:04:41 +02:00
Witold Kręcicki
e2a06db7f3
libdns refactoring: get rid of multiple versions of dns_master_loadfile, dns_master_loadfileinc, dns_master_dump, dns_master_dumpinc, dns_master_dumptostream, dns_master_stylecreate
2018-04-06 08:04:41 +02:00
Witold Kręcicki
d76ed0da1c
libdns refactoring: get rid of two versions of dns_byaddr_createptrname
2018-04-06 08:04:41 +02:00
Ondřej Surý
b097be17ef
Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version
2018-04-04 23:12:14 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
0b66d4a1c7
reorder test to silence cppcheck
2018-02-16 10:20:39 +11:00
Mark Andrews
4955c45c94
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
1af3e7d7d5
use %u instead of %d
2018-02-16 10:20:38 +11:00
Evan Hunt
61c843815e
[master] copyrights/whitespace
2017-11-30 14:51:50 -08:00
Michał Kępień
2c20fc0d13
[master] Fix LMDB support on OpenBSD; clean up and refactor LMDB-related code
...
4835. [cleanup] Clean up and refactor LMDB-related code. [RT #46718 ]
4834. [port] Fix LMDB support on OpenBSD. [RT #46718 ]
2017-11-30 14:34:04 +01:00
Evan Hunt
959d294067
[master] remove isc-hmac-fixup
...
4797. [func] Removed "isc-hmac-fixup", as the versions of BIND that
had the bug it worked around are long past end of
life. [RT #46411 ]
2017-10-27 09:56:11 -07:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Francis Dupont
9c829f4f96
Merged rt31459d (openssl random)
2017-09-16 13:53:29 +02:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Evan Hunt
cc24a8725f
[rt31459d] update the newer tools
2017-09-12 22:49:35 -07:00
Evan Hunt
e06d728f13
[master] removed outdated library reference
2017-09-09 11:49:04 -07:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Mark Andrews
164616cb9c
don't attempt to link -lcrypto multiple times
2017-09-08 16:15:37 +10:00
Evan Hunt
509ba96497
[rt45019] separate DNS_CRYPTO_LIBS from ISC_OPENSSL_LIBS and use both
2017-09-07 22:05:20 -07:00
Mark Andrews
b6b33d0f48
ISCLIBS should be after DNSLIBS
2017-09-08 12:52:48 +10:00
Evan Hunt
1fd1c0b027
[rt45019] fix some library ordering problems
2017-09-06 23:01:54 -07:00
Tinderbox User
a5d6b4c4c8
regen master
2017-08-30 01:12:14 +00:00
Michał Kępień
d6814700de
[master] Ensure consistent handling of -4/-6 command line options in all tools
...
4690. [bug] Command line options -4/-6 were handled inconsistently
between tools. [RT #45632 ]
2017-08-29 10:19:38 +02:00
Tinderbox User
f4eb664ce3
update copyright notice / whitespace
2017-08-09 23:47:50 +00:00
Evan Hunt
cdacec1dcb
[master] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
2017-08-09 00:17:44 -07:00
Tinderbox User
0297ebcc89
update copyright notice / whitespace
2017-07-20 23:45:27 +00:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Mark Andrews
5aa648e8f4
add const
2017-06-17 16:13:27 +10:00
Mark Andrews
94eff196e4
4637 broke old style command line with a salt of '-' [RT #45388 ]
2017-06-16 12:45:36 +10:00
Tinderbox User
d6b626e9a7
regen master
2017-06-14 01:08:21 +00:00
Tinderbox User
a00838da96
update copyright notice / whitespace
2017-06-13 23:45:34 +00:00
Evan Hunt
0471530aae
[master] nsec3hash -r
...
4637. [func] "nsec3hash -r" option ("rdata order") takes arguments
in the same order as they appear in NSEC3 or
NSEC3PARAM records, so that NSEC3 parameters can
be cut and pasted from an existing record. Thanks
to Tony Finch for the contribution. [RT #45183 ]
2017-06-13 00:39:10 -07:00
Tinderbox User
70698c6d17
regen master
2017-04-24 01:06:39 +00:00
Evan Hunt
6ce8a05f6c
[master] update copyrights that had been missed recently
2017-04-23 17:06:00 -07:00
Tinderbox User
f5fa655319
regen master
2017-04-23 01:06:11 +00:00
Evan Hunt
f5c39b072c
[master] hex output mode for dnstap-read
...
4594. [func] "dnstap-read -x" prints a hex dump of the wire
format of each logged DNS message. [RT #44816 ]
2017-04-20 20:22:19 -07:00
Mark Andrews
3742338a7b
4585. [port] win32: Set CompileAS value. [RT #42474 ]
2017-04-20 12:41:40 +10:00
Tinderbox User
02716f97c1
regen master
2017-03-02 01:05:06 +00:00
Tinderbox User
ed5bf0e581
update copyright notice / whitespace
2017-02-28 23:45:28 +00:00
Mark Andrews
02fa49a4d8
fix nsupdate reference
2017-03-01 08:33:09 +11:00
Tinderbox User
ff52f52a31
regen master
2017-01-25 01:04:56 +00:00
Tinderbox User
b5808abc69
update copyright notice / whitespace
2017-01-24 23:45:30 +00:00
Mark Andrews
25da687db7
4560. [bug] mdig: add -m option to enable memory debugging rather
...
than have in on all the time. [RT #44509 ]
4559. [bug] Openssl_link.c didn't compile if ISC_MEM_TRACKLINES
was turned off. [RT #44509 ]
2017-01-24 17:48:31 +11:00