diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-30 11:13:17 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-30 11:13:17 -0500 |
commit | d3e3df9308498153e795f6421b83b97c493c1aba (patch) | |
tree | 91240c948f2734a2f5af749126a6a9d141ef461a /tests/test_utils.py | |
parent | 3fc686ea06d4c2dcaf6b363ec1c54a72d995df88 (diff) | |
download | cryptography-d3e3df9308498153e795f6421b83b97c493c1aba.tar.gz cryptography-d3e3df9308498153e795f6421b83b97c493c1aba.tar.bz2 cryptography-d3e3df9308498153e795f6421b83b97c493c1aba.zip |
use pyasn1 for creating the dss-sig-value structure
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r-- | tests/test_utils.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index 7b3ffbc3..ae9f6928 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -140,17 +140,6 @@ def test_dss_sig_value(): assert sig3 == b"0\x06\x02\x01\x00\x02\x01\x00" -def test_dss_sig_value_negative(): - with pytest.raises(ValueError): - dss_sig_value(-1, 1) - - with pytest.raises(ValueError): - dss_sig_value(1, -1) - - with pytest.raises(ValueError): - dss_sig_value(-1, -1) - - def test_load_nist_vectors(): vector_data = textwrap.dedent(""" # CAVS 11.1 |