« Return to Thread: CHAP Modification

Re: CHAP Modification

by ChristosH :: Rate this Message:

Reply to Author | View in Thread


Alan DeKok-4 wrote:
> Also, is there a C function included in the libraries that will allow me to
> convert a hex string to binary? I'm worried I might get stuck in ASCII ->
> HEX -> BINARY conversions.

  Yes.  see "bin2hex" and "hex2bin".  See also rlm_pap in 1.1.4, which
does a lot of this kind of normalization already.
I don't see anything usefull in rlm_pap that could help me because it's CHAP authentication I'm working on.

 « Return to Thread: CHAP Modification