mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-01 04:50:50 -05:00
3607. [bug] dnssec-keygen had broken 'Invalid keyfile' error
message. [RT #34045]
This commit is contained in:
parent
43d8d314d5
commit
9d69017bc6
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
3607. [bug] dnssec-keygen had broken 'Invalid keyfile' error
|
||||
message. [RT #34045]
|
||||
|
||||
3606. [func] "rndc flushtree" now flushes matching
|
||||
records in the address database and bad cache
|
||||
as well as the DNS cache. (Previously only the
|
||||
|
|
|
|||
|
|
@ -655,9 +655,9 @@ main(int argc, char **argv) {
|
|||
mctx, &prevkey);
|
||||
if (ret != ISC_R_SUCCESS)
|
||||
fatal("Invalid keyfile %s: %s",
|
||||
filename, isc_result_totext(ret));
|
||||
predecessor, isc_result_totext(ret));
|
||||
if (!dst_key_isprivate(prevkey))
|
||||
fatal("%s is not a private key", filename);
|
||||
fatal("%s is not a private key", predecessor);
|
||||
|
||||
name = dst_key_name(prevkey);
|
||||
alg = dst_key_alg(prevkey);
|
||||
|
|
|
|||
Loading…
Reference in a new issue