From 055a366fcb3eb51bf726e3fde9ca5b67d035fd06 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 16 Jun 2004 01:05:01 +0000 Subject: [PATCH] 1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. --- CHANGES | 2 ++ lib/dns/sec/dst/dst_api.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index f0be8a712d..6a734a1c28 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ --- 9.3.0rc1 released --- +1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. + 1659. [cleanup] Cleanup some messages that were referring to KEY vs DNSKEY, NXT vs NSEC and SIG vs RRSIG. diff --git a/lib/dns/sec/dst/dst_api.c b/lib/dns/sec/dst/dst_api.c index b42095db13..f3adedc1c9 100644 --- a/lib/dns/sec/dst/dst_api.c +++ b/lib/dns/sec/dst/dst_api.c @@ -18,7 +18,7 @@ /* * Principal Author: Brian Wellington - * $Id: dst_api.c,v 1.88.2.3.2.14 2004/06/11 00:30:55 marka Exp $ + * $Id: dst_api.c,v 1.88.2.3.2.15 2004/06/16 01:05:01 marka Exp $ */ #include @@ -929,7 +929,7 @@ read_public_key(const char *filename, int type, } isc_buffer_init(&b, rdatabuf, sizeof(rdatabuf)); - ret = dns_rdata_fromtext(&rdata, rdclass, type, lex, NULL, + ret = dns_rdata_fromtext(&rdata, rdclass, keytype, lex, NULL, ISC_FALSE, mctx, &b, NULL); if (ret != ISC_R_SUCCESS) goto cleanup;