Skip to content

Commit 39ea394

Browse files
Update ntlm.js (#641)
Suppression for the MD4 usage - this is a part of NTLM v1 specification
1 parent 96a8bbb commit 39ea394

File tree

1 file changed

+1
-1
lines changed
  • api/opensource/node-http-ntlm

1 file changed

+1
-1
lines changed

api/opensource/node-http-ntlm/ntlm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function binaryArray2bytes(array){
338338

339339
function create_NT_hashed_password_v1(password){
340340
var buf = new Buffer(password, 'utf16le');
341-
var md4 = crypto.createHash('md4');
341+
var md4 = crypto.createHash('md4'); // CodeQL [SM04514] Required by NTLM v1 specification
342342
md4.update(buf);
343343
return new Buffer(md4.digest());
344344
}

0 commit comments

Comments
 (0)