--------------------- PatchSet 1623 Date: 2001/02/21 08:59:11 Author: rbcollins Branch: ntlm Tag: (none) Log: don't assert on authenticate test for invalid auth_user_requests Members: src/authenticate.c:1.1.1.3.12.32->1.1.1.3.12.33 Index: squid/src/authenticate.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/authenticate.c,v retrieving revision 1.1.1.3.12.32 retrieving revision 1.1.1.3.12.33 diff -u -r1.1.1.3.12.32 -r1.1.1.3.12.33 --- squid/src/authenticate.c 13 Feb 2001 15:09:41 -0000 1.1.1.3.12.32 +++ squid/src/authenticate.c 21 Feb 2001 08:59:11 -0000 1.1.1.3.12.33 @@ -1,6 +1,6 @@ /* - * $Id: authenticate.c,v 1.1.1.3.12.32 2001/02/13 15:09:41 rbcollins Exp $ + * $Id: authenticate.c,v 1.1.1.3.12.33 2001/02/21 08:59:11 rbcollins Exp $ * * DEBUG: section 29 Authenticator * AUTHOR: Duane Wessels @@ -289,7 +289,8 @@ int authenticateUserAuthenticated(auth_user_request_t * auth_user_request) { - assert(authenticateValidateUser(auth_user_request)); + if (!authenticateValidateUser(auth_user_request)) + return 0; if (auth_user_request->auth_user->auth_module > 0) return authscheme_list[auth_user_request->auth_user->auth_module - 1].authenticated(auth_user_request); else