]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Suppress lgtm weak crypto warning
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 6 Nov 2021 14:46:10 +0000 (10:46 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 6 Nov 2021 14:46:10 +0000 (10:46 -0400)
src/modules/rlm_mschap/rlm_mschap.c

index 7c053a48b48b16ebf3092d16635d6c655ed9c77f..730a0d4a27b0c13b39d2b366349be68163c97103 100644 (file)
@@ -988,7 +988,7 @@ ntlm_auth_err:
                /*
                 *  Decrypt the blob
                 */
-               RC4_set_key(&key, nt_password->vp_length, nt_password->vp_octets);
+               RC4_set_key(&key, nt_password->vp_length, nt_password->vp_octets); /* lgtm [cpp/weak-cryptographic-algorithm] */
                RC4(&key, 516, new_nt_password, nt_pass_decrypted);
 
                /*