Lines Matching refs:pubkey
614 dst_key_t *pubkey = NULL;
626 pubkey = NULL;
628 RETERR(dns_dnssec_keyfromrdata(name, &rdata, mctx, &pubkey));
629 if (!is_zone_key(pubkey) ||
630 (dst_key_flags(pubkey) & DNS_KEYTYPE_NOAUTH) != 0)
633 if (!dns_name_equal(name, dst_key_name(pubkey)))
636 result = dst_key_fromfile(dst_key_name(pubkey),
637 dst_key_id(pubkey),
638 dst_key_alg(pubkey),
643 keys[count] = pubkey;
644 pubkey = NULL;
657 if (pubkey != NULL)
658 dst_key_free(&pubkey);
672 if (pubkey != NULL)
673 dst_key_free(&pubkey);