Fixed compile error
authorAlan T. DeKok <aland@freeradius.org>
Thu, 24 Sep 2009 15:37:07 +0000 (17:37 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 24 Sep 2009 15:37:07 +0000 (17:37 +0200)
src/modules/rlm_mschap/rlm_mschap.c

index 9f2db5b..faee861 100644 (file)
@@ -1019,7 +1019,7 @@ static int mschap_authenticate(void * instance, REQUEST *request)
         *      If we have ntlm_auth configured, use it unless told
         *      otherwise
         */
-       do_ntlm_auth = inst->ntlm_auth;
+       do_ntlm_auth = (inst->ntlm_auth != NULL);
 
        /*
         *      If we have an ntlm_auth configuration, then we may