diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-30 12:12:50 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-30 12:12:50 -0500 |
commit | d0dc6a36a5747208c7a5ced15521fef033ce7880 (patch) | |
tree | 16c87d802ce2af579eed785b73e8def03117cae9 /tests | |
parent | d3e3df9308498153e795f6421b83b97c493c1aba (diff) | |
download | cryptography-d0dc6a36a5747208c7a5ced15521fef033ce7880.tar.gz cryptography-d0dc6a36a5747208c7a5ced15521fef033ce7880.tar.bz2 cryptography-d0dc6a36a5747208c7a5ced15521fef033ce7880.zip |
make DSSSigValue class private
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 37565b4d..483291e3 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -83,7 +83,7 @@ def raises_unsupported_algorithm(reason): assert exc_info.value._reason is reason -class DSSSigValue(univ.Sequence): +class _DSSSigValue(univ.Sequence): componentType = namedtype.NamedTypes( namedtype.NamedType('r', univ.Integer()), namedtype.NamedType('s', univ.Integer()) @@ -91,7 +91,7 @@ class DSSSigValue(univ.Sequence): def dss_sig_value(r, s): - sig = DSSSigValue() + sig = _DSSSigValue() sig.setComponentByName('r', r) sig.setComponentByName('s', s) return encoder.encode(sig) |