27 February 2018: Wouter
- Fixup contrib/fastrpz.patch so that it applies.
+ - Fix compile without threads, and remove unused variable.
22 February 2018: Ralph
- Save wildcard RRset from answer with original owner for use in
{
if(!key_created)
return NULL;
+#ifndef THREADS_DISABLED
return (void*)&log_lock;
+#else
+ return NULL;
+#endif
}
void
return 0;
}
-void val_neg_addreply(struct val_neg_cache* neg, struct reply_info* rep,
- uint8_t* qname)
+void val_neg_addreply(struct val_neg_cache* neg, struct reply_info* rep)
{
size_t i, need;
struct ub_packed_rrset_key* soa;
* Insert NSECs from this message into the negative cache for reference.
* @param neg: negative cache
* @param rep: reply with NSECs.
- * @param qname: used to find correct signer, needed when rep does not contain
- * a SOA record.
* Errors are ignored, means that storage is omitted.
*/
-void val_neg_addreply(struct val_neg_cache* neg, struct reply_info* rep,
- uint8_t* qname);
+void val_neg_addreply(struct val_neg_cache* neg, struct reply_info* rep);
/**
* Insert NSECs from this referral into the negative cache for reference.
&qstate->qinfo);
if(!qstate->no_cache_store) {
val_neg_addreply(qstate->env->neg_cache,
- vq->orig_msg->rep, qstate->qinfo.qname);
+ vq->orig_msg->rep);
}
}
}
return;
}
/* store NSECs into negative cache */
- val_neg_addreply(ve->neg_cache, msg->rep, NULL);
+ val_neg_addreply(ve->neg_cache, msg->rep);
/* was the lookup a failure?
* if we have to go up into the DLV for a higher DLV anchor