diff --git a/rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll b/rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll index 1037c95b4368..d88a276091c7 100644 --- a/rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll +++ b/rust/ql/lib/codeql/rust/frameworks/RustCrypto.qll @@ -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 }