Follows the long string unquoted syntax from RFC8659, section 4.1.1.
* Fix #266: ldns-read-zone -u fails if a type is the only type in a
window and the type modulo 256 is equal to zero.
+ * Fix memory leak when trying to read zones that have equal RRs.
+ the ldns_dnssec_*_add_rr() functions now return LDNS_STATUS_EQUAL_RR
+ when an already existing RR is tried to be added. This is a API
+ change, hence this also bumps the version to 1.9.0
1.8.4 2024-07-19
* Fix building documentation in build directory.
*
* \param[in] name The ldns_dnssec_name to add the RR to
* \param[in] rr The RR to add
- * \return LDNS_STATUS_OK on success, error code otherwise
* \return LDNS_STATUS_OK on success and LDNS_STATUS_EQUAL_ERR when and
* RR with equal ownername, class, type and rdata already exists,
* and an error code otherwise
*
* \param[in] zone the zone to add the RR to
* \param[in] rr The RR to add
- * \return LDNS_STATUS_OK on success, an error code otherwise
+ * \return LDNS_STATUS_OK on success and LDNS_STATUS_EQUAL_ERR when and
+ * RR with equal ownername, class, type and rdata already exists,
+ * and an error code otherwise
*/
ldns_status ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone,
ldns_rr *rr);