2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

3389. [bug] Always return NOERROR (not 0) in TSIG. [RT #31275]

This commit is contained in:
Mark Andrews 2012-10-05 06:57:05 +10:00
parent d4a3f19908
commit 2ec7373254
2 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,5 @@
3389. [bug] Always return NOERROR (not 0) in TSIG. [RT #31275]
3388. [bug] Fixed several Coverity warnings. [RT #30996]
3387. [func] DS digest can be disabled at runtime with

View File

@ -226,12 +226,7 @@ totext_any_tsig(ARGS_TOTEXT) {
*/
n = uint16_fromregion(&sr);
isc_region_consume(&sr, 2);
if (dns_tsigrcode_totext((dns_rcode_t)n, target) == ISC_R_SUCCESS)
RETERR(str_totext(" ", target));
else {
sprintf(buf, "%u ", n);
RETERR(str_totext(buf, target));
}
RETERR(dns_tsigrcode_totext((dns_rcode_t)n, target));
/*
* Other Size.