mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
We were mixing between things, so this is just to keep things consistent. Even though it's not strictly needed for all queries, it does look nice I think
10 lines
242 B
Python
10 lines
242 B
Python
from Cryptodome.PublicKey import RSA
|
|
|
|
from weak_crypto import only_used_by_test
|
|
|
|
def test_example():
|
|
# This is technically not ok, but since it's in a test, we don't want to alert on it
|
|
RSA.generate(1024)
|
|
|
|
only_used_by_test(1024)
|