"Francois Atalla" <[EMAIL PROTECTED]> wrote:
> We've done some little modifications to the code and configuration files, 
> but I wanted to ask whether anyone has implemented anything similar or any 
> other information that may help us writing code the right way.

  I don't think anyone else is doing EAP-SIM.

  As for writing the code the 'right way', look at the code in
src/main for style examples.  Some of the modules are contributed by
third parties, and haven't been updated for style yet.

  Ask questions on the list.  Many people do *huge* amounts of work to
implement something, when many of the utility functions already
exist.  Use 'grep' on the source tree to find similar bits of code...

>   Since this stuff is all about security and authentication, I want
> to make sure that we are following all the right standards.

  Yeah, don't use strcpy.  Length check things.

  If you have a preliminary patch, put it on a web site somewhere, and
I'll try to give some feedback.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to