3110. [bug] dnssec-signzone: Wrong error message could appear

when attempting to sign with no KSK. [RT #24369]
This commit is contained in:
Evan Hunt 2011-05-07 00:31:13 +00:00
parent 822f6ba100
commit be84733145
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,6 @@
3110. [bug] dnssec-signzone: Wrong error message could appear
when attempting to sign with no KSK. [RT #24369]
3109. [func] The also-notify option now uses the same syntax
as a zone's masters clause. This means it is
now possible to specify a TSIG key to use when

View file

@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.275 2011/05/06 21:08:33 each Exp $ */
/* $Id: dnssec-signzone.c,v 1.276 2011/05/07 00:31:13 each Exp $ */
/*! \file */
@ -3906,6 +3906,8 @@ main(int argc, char *argv[]) {
nokeys = ISC_TRUE;
}
warnifallksk(gdb);
if (IS_NSEC3) {
unsigned int max;
result = dns_nsec3_maxiterations(gdb, NULL, mctx, &max);
@ -3915,8 +3917,6 @@ main(int argc, char *argv[]) {
"strength. Maximum iterations allowed %u.", max);
}
warnifallksk(gdb);
gversion = NULL;
result = dns_db_newversion(gdb, &gversion);
check_result(result, "dns_db_newversion()");