Print MaxTTL metadata in key state file
Print the maximum TTl in the key files, so we know what value to use when doing a key rollover.
This commit is contained in:
committed by
Mark Andrews
parent
7930ddadba
commit
ffb1a6837f
@@ -2083,6 +2083,7 @@ write_key_state(const dst_key_t *key, int type, const char *directory) {
|
||||
fprintf(fp, "Length: %u\n", key->key_size);
|
||||
|
||||
printnum(key, DST_NUM_LIFETIME, "Lifetime", fp);
|
||||
printnum(key, DST_NUM_MAXTTL, "MaxTTL", fp);
|
||||
printnum(key, DST_NUM_PREDECESSOR, "Predecessor", fp);
|
||||
printnum(key, DST_NUM_SUCCESSOR, "Successor", fp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user