* The attribute type must be valid
*/
if ((p[0] == 0) || (p[0] > 10)) {
- RDEBUG("Not formatted as Digest-Attributes");
+ RDEBUG("Not formatted as Digest-Attributes: TLV type (%u) invalid", (unsigned int) p[0]);
return RLM_MODULE_NOOP;
}
* Too short.
*/
if (attrlen < 3) {
- RDEBUG("Not formatted as Digest-Attributes");
+ RDEBUG("Not formatted as Digest-Attributes: TLV too short");
return RLM_MODULE_NOOP;
}
* Too long.
*/
if (attrlen > length) {
- RDEBUG("Not formatted as Digest-Attributes");
+ RDEBUG("Not formatted as Digest-Attributes: TLV too long)");
return RLM_MODULE_NOOP;
}