aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/x509.py')
-rw-r--r--src/cryptography/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index 3254f26f..82b8bd36 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -698,7 +698,7 @@ class SubjectKeyIdentifier(object):
for bit in spki.getComponentByName("subjectPublicKey"):
bits = bits << 1 | bit
- data = utils.int_to_bytes(bits, "big")
+ data = utils.int_to_bytes(bits)
return cls(hashlib.sha1(data).digest())
digest = utils.read_only_property("_digest")