Hi Alan, That seems to do the trick ;)
Still getting a double EAP-Message but SecureW2 always read the last EAP-Message so the authentication succeeds :) Thanks! Tom > -----Original Message----- > From: Alan DeKok [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 09, 2004 6:08 PM > To: [EMAIL PROTECTED] > Subject: Re: EAP-TTLS-EAP-* > > > "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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html