8 July 2024: Wouter
- Fix that validation reason failure that uses string print uses
separate buffer that is passed, from the scratch validation buffer.
+ - Fixup algo_needs_reason string buffer length.
5 July 2024: Yorgos
- Don't check for message TTL changes if the RRsets remain the same.
{
sldns_lookup_table *t = sldns_lookup_by_id(sldns_algorithms, alg);
if(t&&t->name)
- snprintf(reasonbuf, sizeof(reasonlen), "%s with algorithm %s",
- s, t->name);
- else snprintf(reasonbuf, sizeof(reasonlen), "%s with algorithm "
- "ALG%u", s, (unsigned)alg);
+ snprintf(reasonbuf, reasonlen, "%s with algorithm %s", s,
+ t->name);
+ else snprintf(reasonbuf, reasonlen, "%s with algorithm ALG%u", s,
+ (unsigned)alg);
*reason = reasonbuf;
}