mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
nsupdate needed KEY for SIG(0), not DNSKEY.
This commit is contained in:
parent
a5e055b9d8
commit
014c882ddd
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: nsupdate.c,v 1.132 2004/05/12 04:48:23 marka Exp $ */
|
/* $Id: nsupdate.c,v 1.133 2004/06/17 01:03:00 sra Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -346,7 +346,8 @@ setup_keyfile(void) {
|
|||||||
|
|
||||||
debug("Creating key...");
|
debug("Creating key...");
|
||||||
|
|
||||||
result = dst_key_fromnamedfile(keyfile, DST_TYPE_PRIVATE, mctx,
|
result = dst_key_fromnamedfile(keyfile,
|
||||||
|
DST_TYPE_PRIVATE | DST_TYPE_KEY, mctx,
|
||||||
&dstkey);
|
&dstkey);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
fprintf(stderr, "could not read key from %s: %s\n",
|
fprintf(stderr, "could not read key from %s: %s\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user