"Tom Rixom" <[EMAIL PROTECTED]> wrote: > Put it together into a 4 byte sequence and you can see the=20 > incorrect padding. It should be 1:
Ok. The problem is a simple one, I think: /* * Align the data to a multiple of 4 bytes. */ if ((total & 0x03) != 0) { unsigned int i; length = 4 - total & 0x03; ^^^^^ Add that, and it should work. > This means the extra EAP-Message is either are added or not flushed > before encryption takes place. It looks like it's not being flushed. That's annoying. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html