mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Rust: Make a predicate private.
This commit is contained in:
@@ -7,7 +7,7 @@ private import codeql.rust.Concepts
|
||||
private import codeql.rust.dataflow.DataFlow
|
||||
|
||||
bindingset[algorithmName]
|
||||
string simplifyAlgorithmName(string algorithmName) {
|
||||
private string simplifyAlgorithmName(string algorithmName) {
|
||||
// the cipher library gives triple-DES names like "TdesEee2" and "TdesEde2"
|
||||
if algorithmName.matches("Tdes%") then result = "3des" else result = algorithmName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user