mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-09 11:09:06 -04:00
In a previous change, the "algorithm" value passed to dns_tsigkey_create() was changed from a DNS name to an integer; the name was then chosen from a table of known algorithms. A side effect of this change was that a query using an unknown TSIG algorithm was no longer handled correctly, and could trigger an assertion failure. This has been corrected. The dns_tsigkey struct now stores the signing algorithm as dst_algorithm_t value 'alg' instead of as a dns_name, but retains an 'algname' field, which is used only when the algorithm is DST_ALG_UNKNOWN. This allows the name of the unrecognized algorithm name to be returned in a BADKEY response. (cherry picked from commit decf461d68846d6754c1f64790c3f9006d158a1d) |
||
|---|---|---|
| .. | ||
| bench | ||
| dns | ||
| include/tests | ||
| isc | ||
| isccfg | ||
| libtest | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||
| unit-test-driver.sh.in | ||