]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
14 years agoCanonicalize the signers name rdata field in RRSIGs when signing
Willem Toorop [Fri, 28 Oct 2011 12:02:01 +0000 (12:02 +0000)] 
Canonicalize the signers name rdata field in RRSIGs when signing
Thanks Michael Tokarev

14 years agoFix makefile for dependencies on .lo, because with --disable-static only
Wouter Wijngaards [Thu, 27 Oct 2011 17:41:09 +0000 (17:41 +0000)] 
Fix makefile for dependencies on .lo, because with --disable-static only
.lo is created, not .o.

14 years agoonly RSASHA1 is allowed
Matthijs Mekking [Thu, 27 Oct 2011 11:30:05 +0000 (11:30 +0000)] 
only RSASHA1 is allowed

14 years agothat's more clear
Matthijs Mekking [Mon, 24 Oct 2011 13:22:16 +0000 (13:22 +0000)] 
that's more clear

14 years agohandle carriage returns
Matthijs Mekking [Mon, 24 Oct 2011 13:06:07 +0000 (13:06 +0000)] 
handle carriage returns

14 years agofix reading zone with parentheses
Matthijs Mekking [Mon, 24 Oct 2011 09:37:48 +0000 (09:37 +0000)] 
fix reading zone with parentheses

14 years agoCheck type of -V option to be a number
Willem Toorop [Mon, 17 Oct 2011 14:42:08 +0000 (14:42 +0000)] 
Check type of -V option to be a number

14 years agoBugfix#413: Thanks Brad Smith
Willem Toorop [Mon, 17 Oct 2011 12:00:56 +0000 (12:00 +0000)] 
Bugfix#413: Thanks Brad Smith
Fix installation of the ldns-config.1 manpage to come from $(srcdir) so that srcdir may be different then builddir.

Removed unused variable from dnssec.c.

14 years agoUpdated doxygen + preperation for 1.6.12
Willem Toorop [Thu, 29 Sep 2011 13:04:19 +0000 (13:04 +0000)] 
Updated doxygen + preperation for 1.6.12

14 years agoTag the release release-1.6.11
Willem Toorop [Thu, 29 Sep 2011 12:01:25 +0000 (12:01 +0000)] 
Tag the release

14 years agoSome more LD_LIBRARY_PATH wipeouts prevention,
Willem Toorop [Tue, 27 Sep 2011 12:36:08 +0000 (12:36 +0000)] 
Some more LD_LIBRARY_PATH wipeouts prevention,
+ *bsd* uses gindent in codingstyle.tpkg

14 years agoMake CFLAGS (and other environment variables) pass to the configure scripts in the...
Willem Toorop [Mon, 26 Sep 2011 19:21:21 +0000 (19:21 +0000)] 
Make CFLAGS (and other environment variables) pass to the configure scripts in the tests

14 years agoChange querying to ``localhost'' in stead of 127.0.0.1 so that it may be externally...
Willem Toorop [Mon, 26 Sep 2011 11:56:23 +0000 (11:56 +0000)] 
Change querying to ``localhost'' in stead of 127.0.0.1 so that it may be externally overloaded in jails and vservers.

14 years agoForgot to put bugfix in Changelog
Willem Toorop [Fri, 23 Sep 2011 21:19:18 +0000 (21:19 +0000)] 
Forgot to put bugfix in Changelog

14 years agoBugfix #411 empty non-terminal NSEC3s cause assertion failure in ldns_rdf_data
Willem Toorop [Fri, 23 Sep 2011 21:07:41 +0000 (21:07 +0000)] 
Bugfix #411 empty non-terminal NSEC3s cause assertion failure in ldns_rdf_data

14 years agoMake pyldns compile on old Mac OS-X too
Willem Toorop [Fri, 23 Sep 2011 21:02:41 +0000 (21:02 +0000)] 
Make pyldns compile on old Mac OS-X too

14 years agoFedora packaging spec and fixing tests to run on Max OS-X (leopard).
Willem Toorop [Fri, 23 Sep 2011 13:04:31 +0000 (13:04 +0000)] 
Fedora packaging spec and fixing tests to run on Max OS-X (leopard).
Fixes include maintaining old value of LD_LIBRARY_PATH and DYLD_LIBRARY_PATH and removal of -Wl,--rpath from the LDFLAGS in configure.ac

14 years agoCode review from Wouter.
Willem Toorop [Fri, 23 Sep 2011 11:49:21 +0000 (11:49 +0000)] 
Code review from Wouter.
Fix potential memory leak

14 years agoClarified -p option in ldns-verify-zone.
Willem Toorop [Fri, 23 Sep 2011 09:14:15 +0000 (09:14 +0000)] 
Clarified -p option in ldns-verify-zone.
Bugfix #410: Don't leak sha temporary data on the stack
Fix tests to take (DY)LD_LIBRARY_PATH into account

14 years agoTypo in manpage
Willem Toorop [Thu, 22 Sep 2011 21:00:59 +0000 (21:00 +0000)] 
Typo in manpage

14 years agoPaul Wouter's release candidate review:
Willem Toorop [Thu, 22 Sep 2011 19:55:11 +0000 (19:55 +0000)] 
Paul Wouter's release candidate review:
Removed ipcalc dependency of ldnsx.
Removed the unused function 'ldns_rr_list_contains_name' from ldns-verify-zone.c
And a very ugly syntax error in Makefile.in

14 years agoUpdated the Changelog and some minor code review issues.
Willem Toorop [Thu, 22 Sep 2011 14:07:50 +0000 (14:07 +0000)] 
Updated the Changelog and some minor code review issues.

14 years agohexdumping is something for more verbose option
Matthijs Mekking [Thu, 22 Sep 2011 13:43:31 +0000 (13:43 +0000)] 
hexdumping is something for more verbose option

14 years agoA man page for ldns-config (make PW happy :) + documentation of the '-b' option in...
Willem Toorop [Thu, 22 Sep 2011 12:49:36 +0000 (12:49 +0000)] 
A man page for ldns-config (make PW happy :) + documentation of the '-b' option in the ldns-sign-zone manpage.

14 years agoYet another unit test update
Willem Toorop [Thu, 22 Sep 2011 10:56:59 +0000 (10:56 +0000)] 
Yet another unit test update

14 years agoupdate test
Matthijs Mekking [Thu, 22 Sep 2011 10:42:06 +0000 (10:42 +0000)] 
update test

14 years agoReviewing the code review :)
Willem Toorop [Thu, 22 Sep 2011 10:36:55 +0000 (10:36 +0000)] 
Reviewing the code review :)

14 years agoprint layout and comments (disabled by default)
Matthijs Mekking [Thu, 22 Sep 2011 09:52:14 +0000 (09:52 +0000)] 
print layout and comments (disabled by default)

14 years agocode review
Matthijs Mekking [Thu, 22 Sep 2011 09:34:41 +0000 (09:34 +0000)] 
code review

14 years agoAdded the ldnsx python module from Christopher Olah to the contrib directory.
Willem Toorop [Tue, 20 Sep 2011 22:35:17 +0000 (22:35 +0000)] 
Added the ldnsx python module from Christopher Olah to the contrib directory.
Also provided a --with-pyldnsx option with configuring that defaults to installing pyldnsx when pyldns is installed too.

14 years agoRemoved those leftovers from Vim...
Willem Toorop [Tue, 20 Sep 2011 10:36:21 +0000 (10:36 +0000)] 
Removed those leftovers from Vim...

14 years agoUpdate of libdns.vim from Miek and some align on the 80 columns textual changes of...
Willem Toorop [Tue, 20 Sep 2011 09:58:52 +0000 (09:58 +0000)] 
Update of libdns.vim from Miek and some align on the 80 columns textual changes of ldns-verify-zone.c

14 years agoSuppress warnings from automatically generated code by SWIG.
Willem Toorop [Mon, 19 Sep 2011 21:28:39 +0000 (21:28 +0000)] 
Suppress warnings from automatically generated code by SWIG.
Reformat some of the comments to prevent "warning: marco .... not defined" messages
Adapted configure.ac to nu use PYTHON_VERSION directly (as advised in the ax_python_devel package).

14 years agoNameservers should not get the unreachable status if TCP hasn't been tried yet.
Willem Toorop [Mon, 19 Sep 2011 13:00:43 +0000 (13:00 +0000)] 
Nameservers should not get the unreachable status if TCP hasn't been tried yet.
Thanks to Christopher Olah and Paul Wouters (see "pyLDNS Problems" thread on the ldns-users list).

14 years agoMake pyldns work with the AX_PYTHON_DEVEL macro.
Willem Toorop [Mon, 12 Sep 2011 14:26:25 +0000 (14:26 +0000)] 
Make pyldns work with the AX_PYTHON_DEVEL macro.
Prefer swig2.0 over swig.
Remove swig 454 warning messages while handling ldns.i.

14 years agoUpdate of python3 support from Karel Slany
Willem Toorop [Mon, 12 Sep 2011 09:42:24 +0000 (09:42 +0000)] 
Update of python3 support from Karel Slany

14 years agoSuppress lint whining
Willem Toorop [Sun, 11 Sep 2011 21:52:27 +0000 (21:52 +0000)] 
Suppress lint whining

14 years ago1. Doxygen for printing and to text converting functions with ldns_output_format...
Willem Toorop [Sun, 11 Sep 2011 21:38:03 +0000 (21:38 +0000)] 
1. Doxygen for printing and to text converting functions with ldns_output_format specification (and inclusion in ldns_symbols.def), and
2. Extra functions to accomodate the construction of a hashed to unhashed name map (rbtree).
   Also, the usage of such a map to annotate NSEC3 RRs with the unhashed versions of their owner and next owner names in the comment section of a textual representation.
Finalizes RT#539 and Bugzilla#366.

14 years agoMore conventional order of arguments.
Willem Toorop [Fri, 9 Sep 2011 08:56:42 +0000 (08:56 +0000)] 
More conventional order of arguments.
And an extra data field in ldns_output_format in which for example a rbtree mapping nsec3 hashes to names could be passed along.

14 years agoSome initial work on formatting output of RRs.
Willem Toorop [Thu, 8 Sep 2011 21:46:53 +0000 (21:46 +0000)] 
Some initial work on formatting output of RRs.
See RT#539 and in the back of my head Bugzilla#366.

14 years agoAlgorithm names should be canonicalized to (before the hash is calculated).
Willem Toorop [Thu, 8 Sep 2011 14:44:37 +0000 (14:44 +0000)] 
Algorithm names should be canonicalized to (before the hash is calculated).
Bugfix 407

14 years agoCanonicalize TSIG keyname. Bugzilla #407
Willem Toorop [Thu, 8 Sep 2011 13:52:52 +0000 (13:52 +0000)] 
Canonicalize TSIG keyname. Bugzilla #407

14 years agoNew versions of the functions that convert packets, rr's and rr-lists to string.
Willem Toorop [Mon, 5 Sep 2011 15:04:30 +0000 (15:04 +0000)] 
New versions of the functions that convert packets, rr's and rr-lists to string.
Before, default comments were giving describing various aspects of the RR.
With the new functions one can specify which comments are desirable.
See RT#539

14 years agoOops, even defines for ecdsa are nog given without USE_ECDSA.
Willem Toorop [Mon, 5 Sep 2011 09:30:24 +0000 (09:30 +0000)] 
Oops, even defines for ecdsa are nog given without USE_ECDSA.
Also rearrangement of variable declaration to stop splint complaining.

14 years agoTypo fix. Thanks Wouter!
Willem Toorop [Mon, 5 Sep 2011 09:03:28 +0000 (09:03 +0000)] 
Typo fix. Thanks Wouter!

14 years agoldns_fetch_valid_domain_keys should look deeper than just one level to look for keys...
Willem Toorop [Fri, 2 Sep 2011 20:25:59 +0000 (20:25 +0000)] 
ldns_fetch_valid_domain_keys should look deeper than just one level to look for keys that have signed a domain's DS.
For example the DS for 224.154.213.in-addr.arpa is signed with a key from 213.in-addr.arpa. Two levels deeper.

14 years agoFix comparison between signed and unsigned.
Wouter Wijngaards [Fri, 2 Sep 2011 14:04:48 +0000 (14:04 +0000)] 
Fix comparison between signed and unsigned.

14 years agoFix EVP_PKEY_assign_DSA and consorts. Bugfix #406
Willem Toorop [Wed, 31 Aug 2011 13:15:06 +0000 (13:15 +0000)] 
Fix EVP_PKEY_assign_DSA and consorts. Bugfix #406

14 years agoDocument the change.
Willem Toorop [Tue, 30 Aug 2011 08:52:21 +0000 (08:52 +0000)] 
Document the change.

14 years agoRenamed LDNS_STATUS_MALFORMED_RRSIG to LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG and...
Willem Toorop [Tue, 30 Aug 2011 07:58:37 +0000 (07:58 +0000)] 
Renamed LDNS_STATUS_MALFORMED_RRSIG to LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG and to LDNS_STATUS_MISSING_RDATA_FIELDS_KEY when it applied to keys.

14 years agoFix typos
Willem Toorop [Tue, 30 Aug 2011 07:35:02 +0000 (07:35 +0000)] 
Fix typos

14 years agoAssertion error fix! Bug #391
Willem Toorop [Mon, 29 Aug 2011 14:02:00 +0000 (14:02 +0000)] 
Assertion error fix! Bug #391

14 years agoRollback last modifications. It already breaks one unit test.
Willem Toorop [Sat, 27 Aug 2011 06:57:30 +0000 (06:57 +0000)] 
Rollback last modifications. It already breaks one unit test.
ldns as a DNS tooling library should be able to handle uncomplient resource records.

14 years agoMinimum number of rdata fields should be checked parsing from wireformat too!
Willem Toorop [Fri, 26 Aug 2011 14:53:40 +0000 (14:53 +0000)] 
Minimum number of rdata fields should be checked parsing from wireformat too!
See bug #391.

14 years agoAdd python3 support. Thanks to Zbynek Michl.
Willem Toorop [Thu, 25 Aug 2011 13:55:43 +0000 (13:55 +0000)] 
Add python3 support. Thanks to Zbynek Michl.

14 years agoMake test operator the same on linux and freebsd.
Willem Toorop [Thu, 25 Aug 2011 12:31:25 +0000 (12:31 +0000)] 
Make test operator the same on linux and freebsd.
I suspect that just one tested file should comply to make this test succeed.

14 years agoMake parsing APL strings more robust (not crashing if an ':' or '/' character is...
Willem Toorop [Thu, 25 Aug 2011 11:02:12 +0000 (11:02 +0000)] 
Make parsing APL strings more robust (not crashing if an ':' or '/' character is not present).
See bug #404

14 years agoFix heap overflow problem thanks to david keeler: bug #403
Willem Toorop [Wed, 24 Aug 2011 20:04:48 +0000 (20:04 +0000)] 
Fix heap overflow problem thanks to david keeler: bug #403

14 years agoFix minimum and maximum number of rdata fields in TSIG
Willem Toorop [Wed, 24 Aug 2011 19:46:20 +0000 (19:46 +0000)] 
Fix minimum and maximum number of rdata fields in TSIG

14 years agoFix usage of divides and modulus in the utility time funtions.
Willem Toorop [Wed, 24 Aug 2011 18:36:34 +0000 (18:36 +0000)] 
Fix usage of divides and modulus in the utility time funtions.

i.e. if number of seconds is negative (for example -70) then in C
        seconds % 60 = -10
    and seconds / 60 =  -1
but our algorithm expects
        seconds % 60 =  50
    and seconds / 60 =  -2

This fixes bug #401 too.

14 years ago* Fix python api to support python2 and python3 (thanks Karel Slany).
Wouter Wijngaards [Fri, 19 Aug 2011 13:26:21 +0000 (13:26 +0000)] 
* Fix python api to support python2 and python3 (thanks Karel Slany).

14 years agoFix python site package path to lib64.
Wouter Wijngaards [Wed, 10 Aug 2011 05:59:42 +0000 (05:59 +0000)] 
Fix python site package path to lib64.

14 years agoacx nlnetlabs v14.
Wouter Wijngaards [Mon, 1 Aug 2011 14:57:26 +0000 (14:57 +0000)] 
acx nlnetlabs v14.

14 years agoFix autoconf 2.68 warnings.
Wouter Wijngaards [Mon, 1 Aug 2011 11:27:03 +0000 (11:27 +0000)] 
Fix autoconf 2.68 warnings.

14 years agoAnd free the new struct too!
Willem Toorop [Fri, 22 Jul 2011 13:48:57 +0000 (13:48 +0000)] 
And free the new struct too!

14 years agoBugfix 398 Allow RRSIG for NSEC3 to be before the NSEC3 they are about in zonefiles...
Willem Toorop [Fri, 22 Jul 2011 13:41:20 +0000 (13:41 +0000)] 
Bugfix 398 Allow RRSIG for NSEC3 to be before the NSEC3 they are about in zonefiles for ldns-verify-zone

14 years agoActually check the apex when -a is given!!!
Willem Toorop [Wed, 29 Jun 2011 09:26:25 +0000 (09:26 +0000)] 
Actually check the apex when -a is given!!!

14 years agopreprocessor statements shouldn't be indented (thank you wouter)
Willem Toorop [Tue, 28 Jun 2011 13:32:45 +0000 (13:32 +0000)] 
preprocessor statements shouldn't be indented (thank you wouter)

14 years agoFeatures from Miek for ldns-verify-zone Apex only and percentage checks.
Willem Toorop [Tue, 28 Jun 2011 13:24:14 +0000 (13:24 +0000)] 
Features from Miek for ldns-verify-zone Apex only and percentage checks.
Bugfix #392.

14 years agoBugfix 394 of leaking sockets:
Willem Toorop [Tue, 28 Jun 2011 12:15:32 +0000 (12:15 +0000)] 
Bugfix 394 of leaking sockets:
when ldns_udp_send_query returned a error when used from ldns_udp_bgsend and ldns_tcp_bgsend, the newly created socket was not closed nor returned.
Now it is closed.

14 years agonew acx_nlnetlabs.m4
Wouter Wijngaards [Thu, 23 Jun 2011 09:00:33 +0000 (09:00 +0000)] 
new acx_nlnetlabs.m4

14 years agoUpdate version to 1.6.11
Willem Toorop [Tue, 31 May 2011 13:35:13 +0000 (13:35 +0000)] 
Update version to 1.6.11

14 years agoLast minute doxygen warning suppressions
Willem Toorop [Tue, 31 May 2011 12:47:52 +0000 (12:47 +0000)] 
Last minute doxygen warning suppressions

14 years ago * Fix Makefile for U in environment, since wrong U is more common than
Wouter Wijngaards [Mon, 30 May 2011 11:56:41 +0000 (11:56 +0000)] 
  * Fix Makefile for U in environment, since wrong U is more common than
        deansification necessity.

14 years agoSuppress as many warnings as possible when building pyldns and explain the others.
Willem Toorop [Thu, 26 May 2011 11:46:28 +0000 (11:46 +0000)] 
Suppress as many warnings as possible when building pyldns and explain the others.

14 years agoSuppressing compiler warnings reported by Paul Wouters.
Willem Toorop [Wed, 25 May 2011 08:58:36 +0000 (08:58 +0000)] 
Suppressing compiler warnings reported by Paul Wouters.

14 years agoReview comment improvements from Matthijs.
Willem Toorop [Tue, 24 May 2011 11:46:34 +0000 (11:46 +0000)] 
Review comment improvements from Matthijs.
Fix for examples to compile on systems with openssl < 1.0 in the 01-compile.tpkg test.
Changed default timeout to 5 seconds.

14 years agoTo make lint tests pass on Ubuntu 11.04
Willem Toorop [Mon, 23 May 2011 13:48:44 +0000 (13:48 +0000)] 
To make lint tests pass on Ubuntu 11.04

14 years agoFix c99 flag detection on Solaris 11
Willem Toorop [Mon, 23 May 2011 12:40:33 +0000 (12:40 +0000)] 
Fix c99 flag detection on Solaris 11

14 years agocode review #7: Fix comment for is_glue in ldns_dnssec_name struct.
Willem Toorop [Wed, 18 May 2011 14:43:58 +0000 (14:43 +0000)] 
code review #7: Fix comment for is_glue in ldns_dnssec_name struct.

14 years agocode review #1: Extra info on NSEC records only when verbosity is up
Willem Toorop [Wed, 18 May 2011 14:15:05 +0000 (14:15 +0000)] 
code review #1: Extra info on NSEC records only when verbosity is up
code review #2: Rename serial_arithmitics_gmtime_r to ldns_serial_arithmitics_gmtime_r (and all the other added functions in util.h) and add to ldns_symbols.def.
code review #3: Comment swap of ldns_dnssec_verify_denial_nsec3_match, ldns_verify_rrsig_buffers and ldns_dnssec_verify_denial_nsec3
code review #4: Finishing the sentence in the comment about opt-out handling in function ldns_dnssec_create_nsec3.
code review #5: Just do rd-strlen = strlen(rd) once in rr.c
code review #6: Moved setting of output variables from acx_nlnetlabs.m4 to configure.ac so acx_nlnetlabs.m4 doesn't have to be merged into NSD and Unbound.

14 years agoGet rid of copying of local resolver nameservers to the active resolver in securetrace.
Willem Toorop [Wed, 18 May 2011 12:44:09 +0000 (12:44 +0000)] 
Get rid of copying of local resolver nameservers to the active resolver in securetrace.
It might be worthwhile to query "." if no root-servers are available, but this is not the place or way to address that.

14 years agoApplied Bedrich Kosata's pyldns contributions and updated Changelog
Willem Toorop [Tue, 17 May 2011 20:55:25 +0000 (20:55 +0000)] 
Applied Bedrich Kosata's pyldns contributions and updated Changelog

14 years agoElimination of the defines in config.h from the header files that are distributed...
Willem Toorop [Tue, 17 May 2011 19:47:47 +0000 (19:47 +0000)] 
Elimination of the defines in config.h from the header files that are distributed with the library.
Where possible, those are replaced by build configuration defines (that won't conflict with another autoconf environment)

14 years agoSorry, previous commit (revision 3494, files: dnssec.c, dnssec_sign.c, examples/ldns...
Willem Toorop [Tue, 17 May 2011 14:32:57 +0000 (14:32 +0000)] 
Sorry, previous commit (revision 3494, files: dnssec.c, dnssec_sign.c, examples/ldns-verify-zone.c, ldns/dnssec.h, ldns/dnssec_sign.h and ldns_symbols.def) should have included this documentation change and the following text:

Added the ldns_dnssec_mark_and_get_glue function to inventorize the glue from a ldns_dnssec_zone structure.
Also modified the marking to mark all names that are occluded and not just the names that contain only glue.
Modified the signing, adding of nsec and nsec3 functions to handle the ommission of occluded names and obscured rrsets (in stead of only handling the ommision of glue).
Modified the documentation to clarify how ldns_dnssec_mark_glue and ldns_dnssec_name_node_next_nonglue are intended to work togetger.

See also bug 380.

14 years agoA new function tha
Willem Toorop [Tue, 17 May 2011 14:19:00 +0000 (14:19 +0000)] 
A new function tha

14 years agoFix typo :(
Willem Toorop [Mon, 16 May 2011 12:29:33 +0000 (12:29 +0000)] 
Fix typo :(

14 years agoClarify the operation of the ldns_dnssec_mark_glue() function and the meaning of...
Willem Toorop [Mon, 16 May 2011 12:18:20 +0000 (12:18 +0000)] 
Clarify the operation of the ldns_dnssec_mark_glue() function and the meaning of the is_glue data field in the ldns_dnssec_name structure.
Reveal the existance of the ldns_dnssec_mark_glue() function (that was alleady in the ldns_symbols.def list) in the header file.
Export ldns_dnssec_name_is_glue() with the library.

14 years agoMinor mem error fix and splint fix
Willem Toorop [Fri, 13 May 2011 09:36:45 +0000 (09:36 +0000)] 
Minor mem error fix and splint fix

14 years agoFix ldns_dnssec_zone_add_empty_nonterminals to also detect the empty nonterminals...
Willem Toorop [Fri, 13 May 2011 09:24:50 +0000 (09:24 +0000)] 
Fix ldns_dnssec_zone_add_empty_nonterminals to also detect the empty nonterminals for labels that are the same as another at a certain position, but for which some of the parent labels differ.
See also: Bug#383.
Thanks to Juergen Geinitz.

14 years agoAccidently made the change in util.h before :(
Willem Toorop [Thu, 12 May 2011 10:08:25 +0000 (10:08 +0000)] 
Accidently made the change in util.h before :(

14 years agoAlleviate the potential sizeof(bool) discrepancies by:
Willem Toorop [Thu, 12 May 2011 09:52:34 +0000 (09:52 +0000)] 
Alleviate the potential sizeof(bool) discrepancies by:
1. Allocating scructures with (aligned) bool attributes with LDNS_CALLOC (that fills the freshly allocated struct with zero's)
2. signed char as a fall back type for bool, as recommended in the autoconf manual
3. An access function for the is_glueattribute: bool ldns_dnssec_name_is_glue(ldns_dnssec_name *name)

14 years agoRollback of last changes, because stdbool.h in solaris is only available when using...
Willem Toorop [Wed, 11 May 2011 12:52:15 +0000 (12:52 +0000)] 
Rollback of last changes, because stdbool.h in solaris is only available when using the c99 compile flag.
Otherwise an error is produced.
From /usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment.

14 years agoDon't really on defines in config.h to determine the bool type.
Willem Toorop [Wed, 11 May 2011 12:28:42 +0000 (12:28 +0000)] 
Don't really on defines in config.h to determine the bool type.

14 years agodon't write *t++ = c if we are going to hit the limit
Matthijs Mekking [Tue, 10 May 2011 09:13:01 +0000 (09:13 +0000)] 
don't write *t++ = c if we are going to hit the limit

14 years agono such options -cn
Matthijs Mekking [Wed, 4 May 2011 10:19:20 +0000 (10:19 +0000)] 
no such options -cn

14 years agodo not loop, but syntax error on a malformed unknown RR
Matthijs Mekking [Wed, 20 Apr 2011 09:21:29 +0000 (09:21 +0000)] 
do not loop, but syntax error on a malformed unknown RR

14 years agoAnother glue record on the zonecut misidentification error, but now only for AAAA.
Willem Toorop [Fri, 15 Apr 2011 15:12:44 +0000 (15:12 +0000)] 
Another glue record on the zonecut misidentification error, but now only for AAAA.
Thanks to Roy Arends.

14 years agoMake python function ldns_ldns_get_addr_by_name accept string parameters too (such...
Willem Toorop [Wed, 13 Apr 2011 14:54:00 +0000 (14:54 +0000)] 
Make python function ldns_ldns_get_addr_by_name accept string parameters too (such as in the example in the documentation).

14 years agoMemory leak fixes by Bedrich Kosata (at the cost of a bit performance).
Willem Toorop [Wed, 13 Apr 2011 14:16:52 +0000 (14:16 +0000)] 
Memory leak fixes by Bedrich Kosata (at the cost of a bit performance).
Patch was in e-mail:

Message-ID: <4DA546A3.5030600@nic.cz>
Date: Wed, 13 Apr 2011 08:45:55 +0200
From: Bedrich Kosata <bedrich.kosata@nic.cz>
To: ldns-users@open.nlnetlabs.nl
Subject: Re: [ldns-users] pyldns - memory leaks and double freeing