diff --git a/lib/dns/message.c b/lib/dns/message.c index 0995821fb6..b67d6d299c 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -3167,7 +3167,7 @@ dns_message_checksig(dns_message_t *msg, dns_view_t *view) { return (ISC_R_UNEXPECTEDEND); } - result = dns_rdata_tostruct(&rdata, &sig, msg->mctx); + result = dns_rdata_tostruct(&rdata, &sig, NULL); if (result != ISC_R_SUCCESS) { return (result); }