Skip to content

Commit 129f21a

Browse files
committed
Rust: Make a predicate private.
1 parent 4e418d3 commit 129f21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ private import codeql.rust.Concepts
77
private import codeql.rust.dataflow.DataFlow
88

99
bindingset[algorithmName]
10-
string simplifyAlgorithmName(string algorithmName) {
10+
private string simplifyAlgorithmName(string algorithmName) {
1111
// the cipher library gives triple-DES names like "TdesEee2" and "TdesEde2"
1212
if algorithmName.matches("Tdes%") then result = "3des" else result = algorithmName
1313
}

0 commit comments

Comments
 (0)