]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
15 months agoMake ldns_rr_compare_ds() and ldns_rr_compare_ds_dnskey() available for CDS and CDNSK... 248/head
[Thomas Green] [Tue, 27 Aug 2024 12:04:29 +0000 (14:04 +0200)] 
Make ldns_rr_compare_ds() and ldns_rr_compare_ds_dnskey() available for CDS and CDNSKEY RRs

15 months agoMake ldns_key_rr2ds() available for CDNSKEY RR 247/head
[Thomas Green] [Tue, 27 Aug 2024 09:29:04 +0000 (11:29 +0200)] 
Make ldns_key_rr2ds() available for CDNSKEY RR

15 months agoMake ldns_calc_keytag() available for CDNSKEY RR 246/head
[Thomas Green] [Tue, 27 Aug 2024 09:12:15 +0000 (11:12 +0200)] 
Make ldns_calc_keytag() available for CDNSKEY RR

16 months agoThank Petr for PR #242 release-1.8.x 1.8.4
Willem Toorop [Sat, 20 Jul 2024 05:06:42 +0000 (22:06 -0700)] 
Thank Petr for PR #242

16 months agoMerge pull request #242 from InfrastructureServices/openssl-no-engine
Willem Toorop [Sat, 20 Jul 2024 05:03:57 +0000 (07:03 +0200)] 
Merge pull request #242 from InfrastructureServices/openssl-no-engine

Thanks you @pemensik

16 months agoAdd NXNAME rrtype
Willem Toorop [Sat, 20 Jul 2024 04:26:46 +0000 (21:26 -0700)] 
Add NXNAME rrtype

16 months agoRemove duplicit error check in engine key loading 242/head
Petr Menšík [Fri, 19 Jul 2024 13:45:09 +0000 (15:45 +0200)] 
Remove duplicit error check in engine key loading

ldns_key_set_algorithm cannot change state of the key. Check it only
once, return specialized error code if failed.

16 months agoUse header presence status to avoid openssl engine
Petr Menšík [Fri, 19 Jul 2024 11:04:40 +0000 (13:04 +0200)] 
Use header presence status to avoid openssl engine

Include presence of openssl/engine.h as indication engines should not be
used. Skip engine if header is not present.

16 months agoRemove unused openssl engine header from nsec3-hash
Petr Menšík [Fri, 19 Jul 2024 10:22:22 +0000 (12:22 +0200)] 
Remove unused openssl engine header from nsec3-hash

Allow building examples with turned off engine.

17 months agoReverted the shuffle commit release-1.8.4-rc1
Willem Toorop [Fri, 12 Jul 2024 14:14:57 +0000 (16:14 +0200)] 
Reverted the shuffle commit

Because it broke make

17 months agoRemove some memory leaks
Willem Toorop [Fri, 12 Jul 2024 14:08:57 +0000 (16:08 +0200)] 
Remove some memory leaks

Still zome left in ldns-verify-zone, but leaving it for now

17 months agoRevert "Merge pull request #192 from trofi/fix-make-depends"
Willem Toorop [Fri, 12 Jul 2024 13:51:21 +0000 (15:51 +0200)] 
Revert "Merge pull request #192 from trofi/fix-make-depends"

This reverts commit d7767a62a01e86823c6830ced02773b9335e60c7, reversing
changes made to 8d76771999f040fa8ad8879a841b413b4507e747.

17 months agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 13:39:17 +0000 (15:39 +0200)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

17 months agoMerge pull request #186 from k0ekk0ek/develop
Willem Toorop [Fri, 12 Jul 2024 13:36:49 +0000 (15:36 +0200)] 
Merge pull request #186 from k0ekk0ek/develop

Remove unused CI recipes and extend GitHub workflow

17 months agoMerge branch 'develop' into develop 186/head
Willem Toorop [Fri, 12 Jul 2024 13:35:02 +0000 (15:35 +0200)] 
Merge branch 'develop' into develop

17 months agoAttribute Felipe for unit test fixes
Willem Toorop [Fri, 12 Jul 2024 13:27:34 +0000 (15:27 +0200)] 
Attribute Felipe for unit test fixes

17 months agoAttribute Sergei Trofimovich
Willem Toorop [Fri, 12 Jul 2024 13:23:54 +0000 (15:23 +0200)] 
Attribute Sergei Trofimovich

17 months agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 13:23:39 +0000 (15:23 +0200)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

17 months agoMerge pull request #191 from FGasper/16-unit-tests-edns-fix-leak
Willem Toorop [Fri, 12 Jul 2024 13:23:31 +0000 (15:23 +0200)] 
Merge pull request #191 from FGasper/16-unit-tests-edns-fix-leak

16-unit-tests-edns: Fix leak & warnings

17 months agoRerun of make depend
Willem Toorop [Fri, 12 Jul 2024 13:20:52 +0000 (15:20 +0200)] 
Rerun of make depend

17 months agoMerge pull request #192 from trofi/fix-make-depends
Willem Toorop [Fri, 12 Jul 2024 13:20:11 +0000 (15:20 +0200)] 
Merge pull request #192 from trofi/fix-make-depends

Makefile.in: build config.h before any object

17 months agoMerge branch 'develop' into fix-make-depends 192/head
Willem Toorop [Fri, 12 Jul 2024 13:19:50 +0000 (15:19 +0200)] 
Merge branch 'develop' into fix-make-depends

17 months agoBSDs dont work part 2
Willem Toorop [Fri, 12 Jul 2024 13:12:31 +0000 (15:12 +0200)] 
BSDs dont work part 2

17 months agoOkay, BSDs just dont run...
Willem Toorop [Fri, 12 Jul 2024 13:11:29 +0000 (15:11 +0200)] 
Okay, BSDs just dont run...

17 months agoAttribute Felipe
Willem Toorop [Fri, 12 Jul 2024 13:07:53 +0000 (15:07 +0200)] 
Attribute Felipe

And the BSD's don't like sudo

17 months agoMerge pull request #199 from FGasper/macos_ci
Willem Toorop [Fri, 12 Jul 2024 13:01:29 +0000 (15:01 +0200)] 
Merge pull request #199 from FGasper/macos_ci

Enable testing in macOS CI

17 months agoMerge branch 'develop' into macos_ci 199/head
Willem Toorop [Fri, 12 Jul 2024 13:01:19 +0000 (15:01 +0200)] 
Merge branch 'develop' into macos_ci

17 months agoAttribute Roland
Willem Toorop [Fri, 12 Jul 2024 12:57:10 +0000 (14:57 +0200)] 
Attribute Roland

and a small dereferencing void * fix

17 months agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:57:02 +0000 (14:57 +0200)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

17 months agoMerge pull request #203 from FGasper/expand_ci
Willem Toorop [Fri, 12 Jul 2024 12:56:41 +0000 (14:56 +0200)] 
Merge pull request #203 from FGasper/expand_ci

Expand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian

17 months agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:50:22 +0000 (14:50 +0200)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

17 months agoMerge pull request #205 from rijswijk/develop
Willem Toorop [Fri, 12 Jul 2024 12:50:14 +0000 (14:50 +0200)] 
Merge pull request #205 from rijswijk/develop

Add functions to extract RFC 8914 extended errors

17 months agoAttribute Jelte
Willem Toorop [Fri, 12 Jul 2024 12:45:51 +0000 (14:45 +0200)] 
Attribute Jelte

17 months agoMerge pull request #206 from tjeb/ldnswalk-improvement
Willem Toorop [Fri, 12 Jul 2024 12:44:40 +0000 (14:44 +0200)] 
Merge pull request #206 from tjeb/ldnswalk-improvement

improve 'next-label' algorithm in ldns-walk

17 months agoFix small mistake and attribute Pierre
Willem Toorop [Fri, 12 Jul 2024 12:42:50 +0000 (14:42 +0200)] 
Fix small mistake and attribute Pierre

17 months agoMerge pull request #214 from khorben/khorben/freebsd-build-fix
Willem Toorop [Fri, 12 Jul 2024 12:38:50 +0000 (14:38 +0200)] 
Merge pull request #214 from khorben/khorben/freebsd-build-fix

ldns: fix the build in FreeBSD's base system

17 months agoAttribute Ed
Willem Toorop [Fri, 12 Jul 2024 12:34:41 +0000 (14:34 +0200)] 
Attribute Ed

17 months agoMerge pull request #216 from emaste/develop
Willem Toorop [Fri, 12 Jul 2024 12:34:29 +0000 (14:34 +0200)] 
Merge pull request #216 from emaste/develop

Update declaration for function with no arguments

17 months agoAttribute Ørjan Malde
Willem Toorop [Fri, 12 Jul 2024 12:27:07 +0000 (14:27 +0200)] 
Attribute Ørjan Malde

17 months agoMerge pull request #224 from Redfoxymoon/develop
Willem Toorop [Fri, 12 Jul 2024 12:25:00 +0000 (14:25 +0200)] 
Merge pull request #224 from Redfoxymoon/develop

progs: don't underlink to libldns

17 months agoAttribute William and Fabrice
Willem Toorop [Fri, 12 Jul 2024 12:21:04 +0000 (14:21 +0200)] 
Attribute William and Fabrice

17 months agoMerge pull request #227 from ffontaine/develop
Willem Toorop [Fri, 12 Jul 2024 12:20:07 +0000 (14:20 +0200)] 
Merge pull request #227 from ffontaine/develop

keys.c: fix build with libressl >= 3.8.1

17 months agoMerge pull request #231 from wsfulton/swig-4.2.0-support
Willem Toorop [Fri, 12 Jul 2024 12:17:38 +0000 (14:17 +0200)] 
Merge pull request #231 from wsfulton/swig-4.2.0-support

const ldns_rdf * typemap fixes to support swig-4.2.0

17 months agoAttribute florian for Swig work
Willem Toorop [Fri, 12 Jul 2024 12:15:40 +0000 (14:15 +0200)] 
Attribute florian for Swig work

17 months agoMerge pull request #232 from fweimer-rh/swig-4.2
Willem Toorop [Fri, 12 Jul 2024 12:12:57 +0000 (14:12 +0200)] 
Merge pull request #232 from fweimer-rh/swig-4.2

SWIG_Python_str_AsChar removal in SWIG 4.2.0

17 months agoMerge pull request #233 from fweimer-rh/swig-32bit
Willem Toorop [Fri, 12 Jul 2024 12:10:44 +0000 (14:10 +0200)] 
Merge pull request #233 from fweimer-rh/swig-32bit

32-bit compatibility for Python SWIG bindings

17 months agoAttribute Enji Cooper for PR #241
Willem Toorop [Fri, 12 Jul 2024 12:09:46 +0000 (14:09 +0200)] 
Attribute Enji Cooper for PR #241

17 months agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:09:35 +0000 (14:09 +0200)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

17 months agoMerge pull request #241 from ngie-eign/coverity-fixes
Willem Toorop [Fri, 12 Jul 2024 12:09:12 +0000 (14:09 +0200)] 
Merge pull request #241 from ngie-eign/coverity-fixes

Address several issues with the ultimate goal being to fix Coverity cited problems

17 months agoBump version
Willem Toorop [Fri, 12 Jul 2024 12:05:16 +0000 (14:05 +0200)] 
Bump version

17 months agoRelease 1.8.4 this month
Willem Toorop [Fri, 12 Jul 2024 12:02:23 +0000 (14:02 +0200)] 
Release 1.8.4 this month

17 months agoAdd WALLET rrtype
Willem Toorop [Fri, 12 Jul 2024 12:01:35 +0000 (14:01 +0200)] 
Add WALLET rrtype

17 months agoRESINFO became RFC
Willem Toorop [Fri, 12 Jul 2024 11:38:43 +0000 (13:38 +0200)] 
RESINFO became RFC

18 months agoldns_dane_match_any_cert_with_data: fix types 241/head
Enji Cooper [Thu, 6 Jun 2024 05:27:34 +0000 (22:27 -0700)] 
ldns_dane_match_any_cert_with_data: fix types

Both `i` and `n` should match the return type for `sk_X509_num` (which
is `int`, not `size_t`). This addresses a potential issue where
`sk_X509_num(..)` could return -1, resulting in an unnecessary number of
loop iterations and undesirable behavior.

Reported by: Coverity
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
18 months agoldns_convert_dsa_rrsig_rdf2asn1: fix memory leak
Enji Cooper [Thu, 6 Jun 2024 05:25:36 +0000 (22:25 -0700)] 
ldns_convert_dsa_rrsig_rdf2asn1: fix memory leak

Prior to this change `dsasig` was not freed when calling `DSA_SIG_set0`
failed. Free `dsasig` on error in that code path now.

Reported by: Coverity
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
18 months agoFix typos (`the the` -> `the`)
Enji Cooper [Thu, 6 Jun 2024 05:19:43 +0000 (22:19 -0700)] 
Fix typos (`the the` -> `the`)

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
18 months agoIgnore build generated files
Enji Cooper [Thu, 6 Jun 2024 05:13:03 +0000 (22:13 -0700)] 
Ignore build generated files

This change ignores several files which are generated by autotools, et
al.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
18 months agoMerge pull request #240 from botovq/hash
Willem Toorop [Fri, 31 May 2024 13:48:58 +0000 (15:48 +0200)] 
Merge pull request #240 from botovq/hash

Don't rely on libcrypto returning static buffers

18 months agoDon't rely on libcrypto returning static buffers 240/head
Theo Buehler [Thu, 30 May 2024 16:52:21 +0000 (18:52 +0200)] 
Don't rely on libcrypto returning static buffers

ldns is one of very few applications relying on being able to pass
NULL as last argument to the one-step hashing functions. BoringSSL
has removed this functionality in 2017 [1] and LibreSSL 4.0 will do
the same. Applications can pass in a correctly-sized buffer on the
stack.

[1]: https://boringssl-review.googlesource.com/14528

19 months agoAdded RESINFO draft RR type
Willem Toorop [Wed, 15 May 2024 12:18:48 +0000 (14:18 +0200)] 
Added RESINFO draft RR type

enable with: --enable-rrtype-resinfo
See https://datatracker.ietf.org/doc/draft-ietf-add-resolver-info

19 months agoUpdated configure.ac from autoupdate
Willem Toorop [Wed, 15 May 2024 11:58:19 +0000 (13:58 +0200)] 
Updated configure.ac from autoupdate

19 months agoChangelog entry for bug #237
Willem Toorop [Wed, 15 May 2024 11:29:27 +0000 (13:29 +0200)] 
Changelog entry for bug #237

19 months agoMerge pull request #238 from NLnetLabs/bugfix/237
Willem Toorop [Wed, 15 May 2024 11:26:45 +0000 (13:26 +0200)] 
Merge pull request #238 from NLnetLabs/bugfix/237

Bugfix/237 Resolver uses nameserver commented out in /etc/resolv.conf

19 months agoMove resolv.conf token parser to parse.h 238/head
Willem Toorop [Wed, 15 May 2024 11:25:38 +0000 (13:25 +0200)] 
Move resolv.conf token parser to parse.h

Including a doxygen comment stating the limitations

19 months agoIssue #237 : Resolver uses nameserver commented out in /etc/resolv.conf
Willem Toorop [Tue, 7 May 2024 12:43:16 +0000 (14:43 +0200)] 
Issue #237 : Resolver uses nameserver commented out in /etc/resolv.conf

This /etc/resolv.conf:
    # x

    # nameserver 8.8.8.8

Still configured 8.8.8.8 as nameserver, because the comment detection in `ldns_resolver_new_frm_fp_l()` didn't anticipate empty lines before the comment.
This fix removed all comment handling from `ldns_resolver_new_frm_fp_l()`. Instead a new function is introduced `ldns_fget_token_l_resolv_conf()` that skips comments that start with '#' and ';'. The old `ldns_fget_token_l()` (that is used for zonefiles too) still accepts only ';' for comments.

22 months agoFix to compile DLLs, and pick out of the lib64 dir, and include
W.C.A. Wijngaards [Tue, 30 Jan 2024 13:36:01 +0000 (14:36 +0100)] 
Fix to compile DLLs, and pick out of the lib64 dir, and include
libssp-0.dll and ldns-config.

22 months agoFix to include exe files for windows compile.
W.C.A. Wijngaards [Tue, 30 Jan 2024 08:37:03 +0000 (09:37 +0100)] 
Fix to include exe files for windows compile.

22 months agoFix to compile with OpenSSL 3.2. Update acx_nlnetlabs.m4 to 48.
W.C.A. Wijngaards [Mon, 29 Jan 2024 15:19:34 +0000 (16:19 +0100)] 
Fix to compile with OpenSSL 3.2. Update acx_nlnetlabs.m4 to 48.

22 months agoFix to install .exe files.
W.C.A. Wijngaards [Mon, 29 Jan 2024 13:30:47 +0000 (14:30 +0100)] 
Fix to install .exe files.

22 months ago* Fix for windows compile; asctime_r compat, search for inet_ntop
W.C.A. Wijngaards [Mon, 29 Jan 2024 13:06:35 +0000 (14:06 +0100)] 
* Fix for windows compile; asctime_r compat, search for inet_ntop
  in ws2_32, avoid double decl of inet_ntop, check for symlink call,
  include config.h in edns.c, have socket compare use correct
  signedness, add -u repo option to makewin.sh, fix quoting in
  makewin.sh and check return value of bind and connect in net.c
  for failure instead of a socket type.

22 months ago32-bit compatibility for Python SWIG bindings 233/head
Florian Weimer [Fri, 26 Jan 2024 10:57:03 +0000 (11:57 +0100)] 
32-bit compatibility for Python SWIG bindings

The ssize_t type can be int instead of long, and the pointer
types are incompatible.

22 months agoSWIG_Python_str_AsChar removal in SWIG 4.2.0 232/head
Florian Weimer [Fri, 26 Jan 2024 10:30:39 +0000 (11:30 +0100)] 
SWIG_Python_str_AsChar removal in SWIG 4.2.0

The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different
memory management requirements.

23 months agoconst ldns_rdf * typemap fixes to support swig-4.2.0 231/head
William S Fulton [Sat, 6 Jan 2024 15:02:39 +0000 (15:02 +0000)] 
const ldns_rdf * typemap fixes to support swig-4.2.0

SWIG_Python_str_AsChar needs to be replaced by SWIG_PyUnicode_AsUTF8AndSize
See https://github.com/swig/swig/commit/f89dd59d4b82ece899087682fdb86e94d2611513

23 months agoMerge pull request #230 from InfrastructureServices/b.root-servers.net
Willem Toorop [Thu, 4 Jan 2024 11:26:23 +0000 (12:26 +0100)] 
Merge pull request #230 from InfrastructureServices/b.root-servers.net

Update address of b.root-servers.net and some others

23 months agoUpdate address of b.root-servers.net and some others 230/head
Petr Menšík [Thu, 4 Jan 2024 09:02:11 +0000 (10:02 +0100)] 
Update address of b.root-servers.net and some others

Update recently changed root servers address in the drill tool. Update
also other addresses and expand IPv6 addresses.

2 years agoMerge pull request #228 from dogo42/develop
Willem Toorop [Mon, 11 Dec 2023 19:12:54 +0000 (20:12 +0100)] 
Merge pull request #228 from dogo42/develop

python3 bindings: ldnsx.py "class resolver" fix

2 years agopython3 bindings: class resolver fix 228/head
dogo42 [Sat, 9 Dec 2023 11:10:30 +0000 (11:10 +0000)] 
python3 bindings: class resolver fix

Imitating the example in the beginning of ldnsx.py results in error:

host:~/rpmbuild# python
Python 3.9.16 (main, Dec  8 2022, 00:00:00)
[GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ldnsx
>>> dir(ldnsx)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__version__', '_rr_types', 'calendar', 'get_rrs', 'isValidIP', 'ldns', 'packet', 'query', 'resolver', 'resource_record', 'secure_query', 'socket', 'sys', 'time', 'warnings']
>>> ldnsx.resolver("9.9.9.9").query("www.hole.fi", "A")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.9/site-packages/ldnsx.py", line 220, in __init__
    nm_list.reverse()
AttributeError: 'filter' object has no attribute 'reverse'
>>>

This patch fixes it, i.e. just add list( .. ) around the filter lambda.

2 years agokeys.c: fix build with libressl >= 3.8.1 227/head
Fabrice Fontaine [Sun, 26 Nov 2023 22:38:14 +0000 (23:38 +0100)] 
keys.c: fix build with libressl >= 3.8.1

libressl >= 3.8.1 removed ENGINE support:
"ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
of this, some stub functions are provided to avoid patching some
applications that do not honor OPENSSL_NO_ENGINE."
resulting in the following build failure with gost:

./keys.c:167:35: error: 'ENGINE_METHOD_ALL' undeclared (first use in this function)
  167 |         if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
      |                                   ^~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/37cc05b78a7004caa1b45d896121f059a4f8ca00

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2 years agoMerge pull request #226 from k0ekk0ek/dns-team
Willem Toorop [Wed, 27 Sep 2023 09:31:18 +0000 (11:31 +0200)] 
Merge pull request #226 from k0ekk0ek/dns-team

Update email addresses to dns-team

2 years agoUpdate email addresses 226/head
Jeroen Koekkoek [Fri, 22 Sep 2023 14:43:18 +0000 (16:43 +0200)] 
Update email addresses

2 years agoprogs: don't underlink to libldns 224/head
Ørjan Malde [Thu, 14 Sep 2023 14:36:00 +0000 (16:36 +0200)] 
progs: don't underlink to libldns

2 years agoldns-testns match wildcard qname's
Willem Toorop [Sat, 3 Jun 2023 13:08:41 +0000 (15:08 +0200)] 
ldns-testns match wildcard qname's

Currently only in combination with copy_query (for simulating delegations)

2 years agoldns-testns match on edns0 udp_size
Willem Toorop [Fri, 2 Jun 2023 08:11:17 +0000 (10:11 +0200)] 
ldns-testns match on edns0 udp_size

2 years agoUpdate declaration for function with no arguments 216/head
Ed Maste [Thu, 25 May 2023 14:29:10 +0000 (10:29 -0400)] 
Update declaration for function with no arguments

With -Wstrict-prototypes clang warns that "a function declaration
without a prototype is deprecated in all versions of C."

2 years agoldns: fix the build in FreeBSD's base system 214/head
Pierre Pronchery [Mon, 22 May 2023 22:30:13 +0000 (00:30 +0200)] 
ldns: fix the build in FreeBSD's base system

This adds a copy of the function prototypes for internal functions where
necessary.

It effectively works around the following compilation error:
error: no previous prototype for function [-Werror,-Wmissing-prototypes]

Tested on FreeBSD/amd64 (14.0-CURRENT).

2 years agoUpdate acx_nlnetlabs.m4 to version 45.
W.C.A. Wijngaards [Thu, 26 Jan 2023 10:30:13 +0000 (11:30 +0100)] 
Update acx_nlnetlabs.m4 to version 45.
* Updated the configure script for split openssl directories.

2 years agoMerge pull request #194 from thesamesam/strict-prototypes
Willem Toorop [Thu, 26 Jan 2023 09:45:55 +0000 (10:45 +0100)] 
Merge pull request #194 from thesamesam/strict-prototypes

acx_nlnetlabs.m4: fix -Wstrict-prototypes

2 years agoMerge pull request #204 from InfrastructureServices/dev-python-3.12
Willem Toorop [Mon, 16 Jan 2023 21:48:00 +0000 (22:48 +0100)] 
Merge pull request #204 from InfrastructureServices/dev-python-3.12

Update python configuration, support platform site dir

2 years agoFixed review comment for missing error strings 205/head
Ubuntu [Fri, 13 Jan 2023 15:59:11 +0000 (15:59 +0000)] 
Fixed review comment for missing error strings

2 years agoExpand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian. 203/head
Felipe Gasper [Wed, 7 Dec 2022 00:40:06 +0000 (19:40 -0500)] 
Expand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian.

2 years agoFix codingstyle test to run on FreeBSD.
Felipe Gasper [Wed, 7 Dec 2022 00:34:53 +0000 (19:34 -0500)] 
Fix codingstyle test to run on FreeBSD.

$OSTYPE under FreeBSD is “FreeBSD”, which doesn’t match “*bsd*”.
This updates the test to accommodate that capitalization variance.

2 years agoMerge pull request #202 from FGasper/issue_201_use_after_free
Willem Toorop [Thu, 12 Jan 2023 08:27:52 +0000 (09:27 +0100)] 
Merge pull request #202 from FGasper/issue_201_use_after_free

Fix ldns_rdf2buffer_str_wks not to use after free.

Ack. Makes sense. Thanks for finding and reporting this.

2 years agoimprove 'next-label' algorithm in ldns-walk 206/head
Jelte Jansen [Tue, 10 Jan 2023 10:56:51 +0000 (11:56 +0100)] 
improve 'next-label' algorithm in ldns-walk

Rather than adding \000 to an existing label, add a new label "\000." to the start of the domain name, to find the closes next possible domain name.

2 years agoAdd functions to extract RFC 8914 extended errors
Ubuntu [Fri, 6 Jan 2023 15:54:01 +0000 (15:54 +0000)] 
Add functions to extract RFC 8914 extended errors

2 years agoUpdate python configuration, support platform site dir 204/head
Petr Menšík [Tue, 3 Jan 2023 20:37:34 +0000 (21:37 +0100)] 
Update python configuration, support platform site dir

Update to the most recent ax_python_devel.m4 from autoconf-archive
2022.09.03. It reports two separate directories, one for platform
independent files, another for platform specific files.

Make minimal change and switch to using platform dependent directory.
Should work on python 3.12, which removes distutils module completely.

3 years agoFix ldns_rdf2buffer_str_wks not to use after free. 202/head
Felipe Gasper [Wed, 7 Dec 2022 00:36:53 +0000 (19:36 -0500)] 
Fix ldns_rdf2buffer_str_wks not to use after free.

Issue #201: endprotoent() needs not to be called until we’re finished with
the protoent struct. (Found by running the test suite on OpenBSD.)

3 years agoEnable CI testing for macOS.
Felipe Gasper [Tue, 6 Dec 2022 19:38:21 +0000 (14:38 -0500)] 
Enable CI testing for macOS.

3 years agoSkip drill tests for sig chasing as appropriate to build.
Felipe Gasper [Tue, 6 Dec 2022 19:37:35 +0000 (14:37 -0500)] 
Skip drill tests for sig chasing as appropriate to build.

This is needed for macOS CI testing.

3 years agoRemove support section
Alex Band [Tue, 29 Nov 2022 13:37:43 +0000 (14:37 +0100)] 
Remove support section

3 years agoacx_nlnetlabs.m4: fix -Wstrict-prototypes 194/head
Sam James [Sat, 19 Nov 2022 01:31:57 +0000 (01:31 +0000)] 
acx_nlnetlabs.m4: fix -Wstrict-prototypes

Fix -Wstrict-prototypes as it's easy to do and avoids future warnings. Noticed
when doing Clang 16 / GCC 14 / C23 work.

For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].

[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.

Signed-off-by: Sam James <sam@gentoo.org>