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:23:50 +00:00
parent 55a4eb4197
commit 80ce101ee4
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -1,3 +1,6 @@
3110. [bug] dnssec-signzone: Wrong error message could appear
when attempting to sign with no KSK. [RT #24369]
3104. [bug] Better support for cross-compiling. [RT #24367]
3099. [test] "dlz" system test now runs but gives R:SKIPPED if
+3 -3
View File
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.209.12.23 2011/03/11 10:49:50 marka Exp $ */
/* $Id: dnssec-signzone.c,v 1.209.12.24 2011/05/07 00:23:50 each Exp $ */
/*! \file */
@@ -3456,6 +3456,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);
@@ -3465,8 +3467,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()");