Improve protocol robustness and invoke user callbacks.
authorLinus Nordberg <linus@nordu.net>
Sat, 19 Feb 2011 17:55:51 +0000 (18:55 +0100)
committerLinus Nordberg <linus@nordu.net>
Sat, 19 Feb 2011 17:55:51 +0000 (18:55 +0100)
commite0749025f259754aa031d997457a308686136909
treea0c9c98e09c6089c780f06053e9abbaec4a24438
parent020e7688d91f2db00d1b573c8496119ede15e773
Improve protocol robustness and invoke user callbacks.

All aborts are removed, as well as all asserts which aren't
programming errors.

When an invalid packet is received, the connection is closed, as per
draft-ietf-radext-tcp-transport-08 (2.6.4).

Use new rs_debug() macro rather than fprintf() for debug printouts.

Coding style overhaul.
lib/conn.c
lib/debug.c
lib/debug.h
lib/err.c
lib/include/radsec/radsec.h
lib/packet.c
lib/radsec.c
lib/request.c
lib/rsp_tlscommon.c