2.x.x (and earier?): yet another decoding SSHA issue

Alan DeKok aland at deployingradius.com
Mon Jul 22 13:36:14 CEST 2013


Arran Cudbard-Bell wrote:
> sprintf "%02x" was giving the wrong result. I'm not sure why.

  Likely signed / unsigned issues.  <sigh>

> I've switched to our own internal hex encoder which is probably faster anyway, and it gives the correct hex encoding.

  That's better.

  Alan DeKok.



More information about the Freeradius-Devel mailing list