Skip to content

Commit

Permalink
Rust: Make a predicate private.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffw0 committed Dec 6, 2024
1 parent 4e418d3 commit 129f21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 129f21a

Please sign in to comment.