]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix elliptic curve test deprecation warning from cryptography 42.
authorBob Halley <halley@dnspython.org>
Sat, 27 Jan 2024 13:45:35 +0000 (05:45 -0800)
committerBob Halley <halley@dnspython.org>
Sat, 27 Jan 2024 13:45:35 +0000 (05:45 -0800)
commit8131d0cf4254d9d42f6e23cde3bcc95ff034d341
treed9a07cda62d2e5a4e58bb1a158396c2bc2ba1c3e
parent3272887b6bf84727583dbf6a5f56d622770a9d58
Fix elliptic curve test deprecation warning from cryptography 42.

We were passing a curve class as the curve parameter in
testSignatureECDSAP256SHA256 and testSignatureECDSAP384SHA384,
not an instance of the curve class.  The official API has
always been to pass an instance, but it tolerated passing a class.
Starting with Cryptogrphy 42, passing a class is deprecated.
tests/test_dnssec.py