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",