]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
NT Password is not needed for external mschap methods
authorNick Porter <nick@portercomputing.co.uk>
Mon, 12 Feb 2024 18:00:43 +0000 (18:00 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 13 Feb 2024 11:10:12 +0000 (11:10 +0000)
src/modules/rlm_mschap/rlm_mschap.c

index d2a9a0ebb209f98e052cf407440b200acd3be226..a0ba0ff3acf12e8ecbae5efed6c44a788df6159a 100644 (file)
@@ -1678,7 +1678,7 @@ static int CC_HINT(nonnull(1, 2, 3)) nt_password_find(bool *ephemeral, fr_pair_t
                 *      ..if we're not, then we can call out to external sources.
                 */
                } else {
-                       return -1;
+                       return 0;
                }
        }