diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-19 12:44:36 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-19 12:44:36 -0500 |
commit | d242ebbfd73a5b0aeb085e903cadbe4f13b5d63d (patch) | |
tree | 356e87a29bafa7d5cf91c2b10d03d35baa8cd4ed /tests/hazmat/primitives/test_ec.py | |
parent | 89f386a76998223f6ade27a7336c610cd1308163 (diff) | |
download | cryptography-d242ebbfd73a5b0aeb085e903cadbe4f13b5d63d.tar.gz cryptography-d242ebbfd73a5b0aeb085e903cadbe4f13b5d63d.tar.bz2 cryptography-d242ebbfd73a5b0aeb085e903cadbe4f13b5d63d.zip |
use the non-deprecated name for this function
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r-- | tests/hazmat/primitives/test_ec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index a0417fbd..86132678 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -19,7 +19,7 @@ from cryptography.hazmat.backends.interfaces import ( from cryptography.hazmat.primitives import hashes, serialization from cryptography.hazmat.primitives.asymmetric import ec from cryptography.hazmat.primitives.asymmetric.utils import ( - encode_rfc6979_signature + encode_dss_signature ) from .fixtures_ec import EC_KEY_SECP384R1 @@ -434,7 +434,7 @@ class TestECDSAVectors(object): curve_type() ).public_key(backend) - signature = encode_rfc6979_signature(vector['r'], vector['s']) + signature = encode_dss_signature(vector['r'], vector['s']) verifier = key.verifier( signature, @@ -463,7 +463,7 @@ class TestECDSAVectors(object): curve_type() ).public_key(backend) - signature = encode_rfc6979_signature(vector['r'], vector['s']) + signature = encode_dss_signature(vector['r'], vector['s']) verifier = key.verifier( signature, |