From 014c882ddd6db42df257f9f722bb0b0a99aa9a8f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 17 Jun 2004 01:03:00 +0000 Subject: [PATCH] nsupdate needed KEY for SIG(0), not DNSKEY. --- bin/nsupdate/nsupdate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index 53777b8dfb..5e7c13b0c5 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * 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 @@ -346,7 +346,8 @@ setup_keyfile(void) { 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); if (result != ISC_R_SUCCESS) { fprintf(stderr, "could not read key from %s: %s\n",