File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99addons :
1010 apt :
1111 packages :
12- -
12+ - rustc
13+ - cargo
1314install :
1415 - pip install codecov
1516 - pip install tox tox-travis
Original file line number Diff line number Diff line change 33from cryptography .hazmat .primitives .asymmetric import ec
44from cryptography .hazmat .primitives .asymmetric .utils import decode_dss_signature
55from cryptography .hazmat .primitives .asymmetric .utils import encode_dss_signature
6- from cryptography .utils import int_from_bytes
76from cryptography .utils import int_to_bytes
87
98from ..exception import BadSignature
@@ -102,6 +101,6 @@ def _split_raw_signature(sig):
102101 :return: A 2-tuple
103102 """
104103 c_length = len (sig ) // 2
105- r = int_from_bytes (sig [:c_length ], byteorder = "big" )
106- s = int_from_bytes (sig [c_length :], byteorder = "big" )
104+ r = int . from_bytes (sig [:c_length ], byteorder = "big" )
105+ s = int . from_bytes (sig [c_length :], byteorder = "big" )
107106 return r , s
You can’t perform that action at this time.
0 commit comments