Lines Matching defs:key1
2080 dns_dnsseckey_t *key, *key1, *key2, *next;
2130 for (key1 = ISC_LIST_HEAD(*newkeys); key1 != NULL; key1 = next) {
2133 next = ISC_LIST_NEXT(key1, link);
2138 int f1 = dst_key_flags(key1->key);
2143 dst_key_alg(key1->key) == dst_key_alg(key2->key) &&
2144 dst_key_pubcompare(key1->key, key2->key,
2147 r1 = dst_key_flags(key1->key) &
2158 ISC_LIST_UNLINK(*newkeys, key1, link);
2159 ISC_LIST_APPEND(*keys, key1, link);
2161 if (key1->source != dns_keysource_zoneapex &&
2162 (key1->hint_publish || key1->force_publish)) {
2163 RETERR(publish_key(diff, key1, origin, ttl,
2165 if (key1->hint_sign || key1->force_sign)
2166 key1->first_sign = ISC_TRUE;
2173 if (key1->hint_remove) {
2182 (dst_key_flags(key1->key) & DNS_KEYFLAG_REVOKE) != 0) {
2197 RETERR(publish_key(diff, key1, origin, ttl,
2199 ISC_LIST_UNLINK(*newkeys, key1, link);
2200 ISC_LIST_APPEND(*keys, key1, link);
2210 key1->ksk = ISC_TRUE;
2214 (key1->hint_sign || key1->force_sign))
2216 key2->hint_sign = key1->hint_sign;
2217 key2->hint_publish = key1->hint_publish;
2223 key1 = ISC_LIST_HEAD(*newkeys);
2224 ISC_LIST_UNLINK(*newkeys, key1, link);
2225 dns_dnsseckey_destroy(mctx, &key1);