diff options
author | Linus Nordberg <linus@nordu.net> | 2011-02-19 18:55:51 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-02-19 18:55:51 +0100 |
commit | e0749025f259754aa031d997457a308686136909 (patch) | |
tree | a0c9c98e09c6089c780f06053e9abbaec4a24438 /lib/rsp_tlscommon.c | |
parent | 020e7688d91f2db00d1b573c8496119ede15e773 (diff) |
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.
Diffstat (limited to 'lib/rsp_tlscommon.c')
-rw-r--r-- | lib/rsp_tlscommon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/rsp_tlscommon.c b/lib/rsp_tlscommon.c index 6002c41..7f728fe 100644 --- a/lib/rsp_tlscommon.c +++ b/lib/rsp_tlscommon.c @@ -115,9 +115,6 @@ static int verify_cb(int ok, X509_STORE_CTX *ctx) { break; } } -#ifdef DEBUG - printf("certificate verify returns %d\n", ok); -#endif return ok; } |