"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/knot/dnssec/zone-sign.c" between
knot-2.9.1.tar.xz and knot-2.9.2.tar.xz

About: Knot DNS is a high-performance authoritative-only DNS server (supports zone transfers, dynamic updates and DNSSEC).

zone-sign.c  (knot-2.9.1.tar.xz):zone-sign.c  (knot-2.9.2.tar.xz)
skipping to change at line 1004 skipping to change at line 1004
changeset_t ch; changeset_t ch;
int ret = changeset_init(&ch, update->zone->name); int ret = changeset_init(&ch, update->zone->name);
if (ret == KNOT_EOK) { if (ret == KNOT_EOK) {
zone_sign_ctx_t *sign_ctx = zone_sign_ctx(zone_keys, dnssec_ctx); zone_sign_ctx_t *sign_ctx = zone_sign_ctx(zone_keys, dnssec_ctx);
if (sign_ctx == NULL) { if (sign_ctx == NULL) {
changeset_clear(&ch); changeset_clear(&ch);
return KNOT_ENOMEM; return KNOT_ENOMEM;
} }
ret = force_resign_rrset(&soa_to, &soa_rrsig, sign_ctx, &ch); ret = force_resign_rrset(&soa_to, &soa_rrsig, sign_ctx, &ch);
if (ret == KNOT_EOK) { if (ret == KNOT_EOK) {
ret = zone_update_apply_changeset_fix(update, &ch); ret = zone_update_apply_changeset(update, &ch);
} }
zone_sign_ctx_free(sign_ctx); zone_sign_ctx_free(sign_ctx);
} }
changeset_clear(&ch); changeset_clear(&ch);
return ret; return ret;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)