From e0749025f259754aa031d997457a308686136909 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sat, 19 Feb 2011 18:55:51 +0100 Subject: 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/rsp_tlscommon.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/rsp_tlscommon.c') 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; } -- cgit v1.1