Skip to content
Snippets Groups Projects
Commit 69473f14 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

axfr: require last packet to be signed

parent 92573f98
Branches
Tags
No related merge requests found
......@@ -332,6 +332,7 @@ int axfr_process_answer(knot_pkt_t *pkt, struct answer_data *data)
ret = xfrin_process_axfr_packet(pkt, (struct xfr_proc *)data->ext);
#warning TODO: this function wraps the old processing interface, hence the retval conversion below
if (ret > 0) {
NS_NEED_TSIG_SIGNED(&data->param->tsig_ctx, 0);
/* This was the last packet, finalize zone and publish it. */
ret = axfr_answer_finalize(data);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment