From: Rob Austein Date: Thu, 17 Jun 2004 01:03:00 +0000 (+0000) Subject: nsupdate needed KEY for SIG(0), not DNSKEY. X-Git-Tag: v9.2.4rc6~9^2~32 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=014c882ddd6db42df257f9f722bb0b0a99aa9a8f;p=thirdparty%2Fbind9.git nsupdate needed KEY for SIG(0), not DNSKEY. --- diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index 53777b8dfb5..5e7c13b0c5e 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",