+4057. [bug] 'dnssec-dsfromkey -T 0' failed to add ttl field.
+ [RT #38565]
+
4053. [security] Revoking a managed trust anchor and supplying
an untrusted replacement could cause named
to crash with an assertion failure.
static dns_name_t *name = NULL;
static isc_mem_t *mctx = NULL;
static isc_uint32_t ttl;
+static isc_boolean_t emitttl = ISC_FALSE;
static isc_result_t
initname(char *setname) {
isc_buffer_usedregion(&nameb, &r);
printf("%.*s ", (int)r.length, r.base);
- if (ttl != 0U)
+ if (emitttl)
printf("%u ", ttl);
isc_buffer_usedregion(&classb, &r);
usekeyset = ISC_TRUE;
break;
case 'T':
+ emitttl = ISC_TRUE;
ttl = atol(isc_commandline_argument);
break;
case 'v':