1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.

[RT #13620]
This commit is contained in:
Mark Andrews 2005-03-16 01:46:26 +00:00
parent 105c67c4f3
commit c5a1b35521
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.
[RT #13620]
1830. [bug] adb lame cache has sence of test reversed. [RT #13600]
1828. [bug] isc_rwlock_init() failed to properly cleanup if it

View file

@ -16,7 +16,7 @@
*/
/*
* $Id: tsig.c,v 1.112.2.4 2004/03/09 06:11:09 marka Exp $
* $Id: tsig.c,v 1.112.2.5 2005/03/16 01:46:26 marka Exp $
*/
#include <config.h>
@ -167,7 +167,7 @@ dns_tsigkey_createfromkey(dns_name_t *name, dns_name_t *algorithm,
goto cleanup_name;
}
} else {
if (key != NULL) {
if (dstkey != NULL) {
ret = DNS_R_BADALG;
goto cleanup_name;
}