mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Crypto: more ID renaming to include "examples", fix singleton issues with ql-for-ql, use formatted test for WeakAsymmetricKeyGenSize (add post processing in the qlref), misc expected files updated (test passed locally but on rerun vscode reports failures, known bug with vscode unit tests).
This commit is contained in:
@@ -230,7 +230,7 @@ module JCAModel {
|
||||
bindingset[name]
|
||||
predicate key_agreement_name_to_type_known(Crypto::TKeyAgreementType type, string name) {
|
||||
type = Crypto::DH() and
|
||||
name.toUpperCase() in ["DH"]
|
||||
name.toUpperCase() = "DH"
|
||||
or
|
||||
type = Crypto::EDH() and
|
||||
name.toUpperCase() = "EDH"
|
||||
@@ -1659,7 +1659,7 @@ module JCAModel {
|
||||
Expr getOutput() { result = output }
|
||||
|
||||
Expr getInput() {
|
||||
super.getMethod().hasStringSignature(["doFinal(byte[])"]) and result = this.getArgument(0)
|
||||
super.getMethod().hasStringSignature("doFinal(byte[])") and result = this.getArgument(0)
|
||||
or
|
||||
super.getMethod().hasStringSignature("update(byte[])") and result = this.getArgument(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user