From 5f059eef4360bc6c35a38241deb2561884dd9001 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 16 Jun 2004 01:41:52 +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 9450824fb7..a0fd8e6a89 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. + 1661. [placeholder] rt11582 1660 [placeholder] rt11595 diff --git a/lib/dns/sec/dst/dst_api.c b/lib/dns/sec/dst/dst_api.c index 1798d04a6a..ba8cf21e8a 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.116 2004/06/11 00:27:00 marka Exp $ + * $Id: dst_api.c,v 1.117 2004/06/16 01:41:52 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;