mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Stop passing mctx to dns_rdata_tostruct as it is unnecessary for SIG
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 d6ad56bd9e)
This commit is contained in:
parent
9a971bb8b0
commit
1488ef19f8
1 changed files with 1 additions and 1 deletions
|
|
@ -3212,7 +3212,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue