Skip to content

Commit 3ceb8bb

Browse files
committed
Python: Add cryptography test for EC
Apparently, passing in the class (without instantiating it) is allowed
1 parent f03c99a commit 3ceb8bb

File tree

1 file changed

+1
-0
lines changed
  • python/ql/test/library-tests/frameworks/cryptography

1 file changed

+1
-0
lines changed

python/ql/test/library-tests/frameworks/cryptography/test_ec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77

88
private_key = ec.generate_private_key(curve=ec.SECP384R1()) # $ PublicKeyGeneration keySize=384
9+
private_key = ec.generate_private_key(curve=ec.SECP384R1) # $ MISSING: PublicKeyGeneration keySize=384
910
public_key = private_key.public_key()
1011

1112
HASH_ALGORITHM = hashes.SHA256()

0 commit comments

Comments
 (0)