]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't include the challenge
authorAlan T. DeKok <aland@freeradius.org>
Tue, 14 Feb 2023 22:41:16 +0000 (17:41 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 14 Feb 2023 23:01:08 +0000 (18:01 -0500)
src/protocols/tacacs/decode.c

index de91c162b94dc897119a9cc45e239c68f53f2832..8e27e00e8438547f90cbbf52e9354fb8d8a9e801 100644 (file)
@@ -581,7 +581,7 @@ ssize_t fr_tacacs_decode(TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *bu
                                break;
 
                        case FR_AUTHENTICATION_TYPE_VALUE_MSCHAPV2:
-                               want = 1 + 16 + 49; /* id + HOPEFULLY 16 octets of challenge + 49 MS-CHAP stuff */
+                               want = 1 + 49; /* id + HOPEFULLY 16 octets of challenge + 49 MS-CHAP stuff */
                                da = attr_tacacs_mschap2_response;
                                challenge = attr_tacacs_mschap_challenge;
                                break;