]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We now have better checks for bad SSL linking.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 26 May 2017 13:09:44 +0000 (09:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 26 May 2017 13:24:57 +0000 (09:24 -0400)
CID #1358897

src/main/tls/session.c

index 0c713dbadaa544a09fe9bed9a149475ff90553d4..ae7f7a77835b0394148d3ffb61430fcd64276077 100644 (file)
@@ -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)