Evan Hunt
dcee985b7f
update all copyright headers to eliminate the typo
2020-09-14 16:20:40 -07:00
Ondřej Surý
3178974f0c
Use the new sorting rules to regroup #include headers
2020-03-09 16:19:22 +01:00
Evan Hunt
e851ed0bb5
apply the modified style
2020-02-13 15:05:06 -08:00
Ondřej Surý
056e133c4c
Use clang-tidy to add curly braces around one-line statements
...
The command used to reformat the files in this commit was:
./util/run-clang-tidy \
-clang-tidy-binary clang-tidy-11
-clang-apply-replacements-binary clang-apply-replacements-11 \
-checks=-*,readability-braces-around-statements \
-j 9 \
-fix \
-format \
-style=file \
-quiet
clang-format -i --style=format $(git ls-files '*.c' '*.h')
uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
clang-format -i --style=format $(git ls-files '*.c' '*.h')
2020-02-13 22:07:21 +01:00
Ondřej Surý
f50b1e0685
Use clang-format to reformat the source files
2020-02-12 15:04:17 +01:00
Tony Finch
b770ea976d
cleanup: more consistent abbreviated DS digest type mnemonics
...
BIND supports the non-standard DNSKEY algorithm mnemonic ECDSA256
everywhere ECDSAP256SHA256 is allowed, and allows algorithm numbers
interchangeably with mnemonics. This is all done in one place by the
dns_secalg_fromtext() function.
DS digest types were less consistent: the rdata parser does not allow
abbreviations like SHA1, but the dnssec-* command line tools do; and
the command line tools do not alow numeric types though that is the
norm in rdata.
The command line tools now use the dns_dsdigest_fromtext() function
instead of rolling their own variant, and dns_dsdigest_fromtext() now
knows about abbreviated digest type mnemonics.
2019-10-10 12:31:39 -04:00
Ondřej Surý
a0d3614a60
Remove randomly scattered additional style check suppressions that caused unmatchedSuppression
2019-10-03 09:04:27 +02:00
Mark Andrews
b59fe46e76
address or suppress cppcheck warnings
2019-09-12 17:59:28 +10:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Mark Andrews
ee23780246
maybe_numeric failed to handle NUL in text region.
2019-01-09 18:33:42 +11:00
Ondřej Surý
e69dc0dbc7
Remove RSAMD5 support
2018-12-11 11:32:24 +01: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ý
fbb08b30b8
Remove traces of DST_ALG_ECC which is now just Reserved in IANA registry
2018-10-26 11:50:11 +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
Ondřej Surý
efd613e874
memmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibility shim
2018-08-28 10:31:48 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Ondřej Surý
c3b8130fe8
Make OpenSSL mandatory
2018-07-19 12:47:03 -04:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +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
dc71aa898a
don't use strlcat with non NUL terminated strings rt45981_stage3
2017-09-15 13:14:16 +10:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Evan Hunt
45afdb2672
[master] remove default algorithm in dnssec-keygen
...
4594. [func] dnssec-keygen no longer uses RSASHA1 by default;
the signing algorithm must be specified on
the command line with the "-a" option. Signing
scripts that rely on the existing default behavior
will break; use "dnssec-keygen -a RSASHA1" to
repair them. (The goal of this change is to make
it easier to find scripts using RSASHA1 so they
can be changed in the event of that algorithm
being deprecated in the future.) [RT #44755 ]
2017-08-30 18:51:11 -07:00
Tinderbox User
b74e1c3b50
update copyright notice / whitespace
2017-08-01 23:46:29 +00:00
Francis Dupont
9b9182fe00
Added Ed25519 support ( #44696 )
2017-07-31 15:26:00 +02:00
Mark Andrews
8ee6f289d8
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
2016-08-19 08:02:51 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
b91d11bfcc
copyrights / whitespace
2016-02-11 10:44:21 +11:00
Mukund Sivaraman
79a55d4f4d
Add option to tools to print RRs in unknown presentation format ( #41595 )
2016-02-09 15:39:02 +05:30
Mark Andrews
f647c0df9f
4281. [bug] Teach dns_message_totext about BADCOOKIE. [RT #41257 ]
2015-12-15 19:49:40 +11:00
Tinderbox User
9ab5a7d83c
update copyright notice / whitespace
2015-07-07 23:45:22 +00:00
Mark Andrews
ce67023ae3
4152. [func] Implement DNS COOKIE option. This replaces the
...
experimental SIT option of BIND 9.10. The following
named.conf directives are avaliable: send-cookie,
cookie-secret, cookie-algorithm and nocookie-udp-size.
The following dig options are available:
+[no]cookie[=value] and +[no]badcookie. [RT #39928 ]
2015-07-06 09:44:24 +10:00
Evan Hunt
56510cd031
[master] null terminate strings for coverity
2014-06-16 15:30:11 -07:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
2bdfb330af
update copyrights
2013-12-05 15:04:53 +11:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Mark Andrews
058e44186b
3387. [func] Support for a DS digest can be disabled at
...
runtime with disable-ds-digests. [RT #21581 ]
2012-10-03 12:38:43 +10:00
Mark Andrews
aaaf8d4f48
3317. [func] Add ECDSA support (RFC 6605). [RT #21918 ]
2012-05-02 23:20:17 +10:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Automatic Updater
b01d422daf
update copyright notice
2011-02-21 23:47:45 +00:00
Mark Andrews
6883a918f7
3031. [bug] dns_rdataclass_format() handle a zero sized buffer.
...
[RT #22521 ]
2011-02-21 06:50:42 +00:00
Mark Andrews
37dee1ff94
2999. [func] Add GOST support (RFC 5933). [RT #20639 ]
2010-12-23 04:08:00 +00:00
Automatic Updater
33cc94f04c
update copyright notice
2010-11-17 23:47:09 +00:00
Mark Andrews
cd9d825a71
remove accidental commit
2010-11-16 05:38:31 +00:00
Mark Andrews
7965c00ca8
check for size equal zero in _format(), replace snprintf of a fixed string with strlcpy
2010-11-16 00:53:36 +00:00
Evan Hunt
cc6cddfd94
2726. [func] Added support for SHA-2 DNSSEC algorithms,
...
RSASHA256 and RSASHA512. [RT #20023 ]
2009-10-22 02:21:31 +00:00
Automatic Updater
97639003b0
update copyright notice
2009-10-12 23:48:02 +00:00
Evan Hunt
77b8f88f14
2712. [func] New 'auto-dnssec' zone option allows zone signing
...
to be fully automated in zones configured for
dynamic DNS. 'auto-dnssec allow;' permits a zone
to be signed by creating keys for it in the
key-directory and using 'rndc sign <zone>'.
'auto-dnssec maintain;' allows that too, plus it
also keeps the zone's DNSSEC keys up to date
according to their timing metadata. [RT #19943 ]
2009-10-12 20:48:12 +00:00