dns_rdata_tostruct doesn't need a mctx passed to it for SIG (the signer
is already expanded at this point). About the only time when mctx is
needed is when the structure is to be used after the rdata has been
destroyed.
(cherry picked from commit
d6ad56bd9e98382f8bd41a25756efdbbc3e39bd9)
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);
}