Don't strip off the final character when printing times in key files.
With the introduction of 'rndc dnssec -status' we introduced
'isc_stdtime_tostring()'. This changed in behavior such that it was no
longer needed to strip of the final '\n' of the string format
datetime. However, in 'printtime()' it still stripped the final
character.
}
isc_buffer_usedregion(&b, &r);
- fprintf(stream, "%s: %.*s (%.*s)\n", tag, (int)r.length, r.base,
- (int)strlen(output) - 1, output);
+ fprintf(stream, "%s: %.*s (%s)\n", tag, (int)r.length, r.base, output);
return;
error: