Skip to content
Snippets Groups Projects
Commit 878dc577 authored by Libor Peltan's avatar Libor Peltan
Browse files

onlinesign: bugfix: dont promote NXDOMAIN to NOERROR if not signed

parent 6dd931d6
No related branches found
No related tags found
1 merge request!1145onlinesign: bugfix: dont promote NXDOMAIN to NOERROR if not signed
Pipeline #64187 passed
......@@ -370,7 +370,7 @@ static knotd_in_state_t synth_authority(knotd_in_state_t state, knot_pkt_t *pkt,
// promote NXDOMAIN to NODATA
if (state == KNOTD_IN_STATE_MISS) {
if (want_dnssec(qdata) && state == KNOTD_IN_STATE_MISS) {
//! \todo Override RCODE set in solver_authority. Review.
qdata->rcode = KNOT_RCODE_NOERROR;
return KNOTD_IN_STATE_NODATA;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment