mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Add suppression comment (#252235)
This commit is contained in:
@@ -93,7 +93,7 @@ export const hashAsync = (input: string | ArrayBufferView | VSBuffer) => {
|
||||
buff = input;
|
||||
}
|
||||
|
||||
return crypto.subtle.digest('sha-1', buff as ArrayBufferView<ArrayBuffer>).then(toHexString);
|
||||
return crypto.subtle.digest('sha-1', buff as ArrayBufferView<ArrayBuffer>).then(toHexString); // CodeQL [SM04514] we use sha1 here for validating old stored client state, not for security
|
||||
};
|
||||
|
||||
const enum SHA1Constant {
|
||||
|
||||
Reference in New Issue
Block a user