From: Alan T. DeKok Date: Fri, 26 May 2017 13:09:44 +0000 (-0400) Subject: We now have better checks for bad SSL linking. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641f341398c2d9bee03f1fa7b0a2455018fe2473;p=thirdparty%2Ffreeradius-server.git We now have better checks for bad SSL linking. CID #1358897 --- diff --git a/src/main/tls/session.c b/src/main/tls/session.c index 0c713dbadaa..ae7f7a77835 100644 --- a/src/main/tls/session.c +++ b/src/main/tls/session.c @@ -783,12 +783,6 @@ void tls_session_msg_cb(int write_p, int msg_version, int content_type, return; } - /* - * Work around bug #298, where we may be called with a NULL - * argument. We should really log a serious error - */ - if (!session) return; - /* * 0 - received (from peer) * 1 - sending (to peer)