diff options
-rw-r--r-- | src/cryptography/x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index 3fff218a..3254f26f 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py @@ -693,7 +693,7 @@ class SubjectKeyIdentifier(object): assert not remaining # the univ.BitString object is a tuple of bits. We need bytes and # pyasn1 really doesn't want to give them to us. To get it we'll - # build an integer, hex it, then decode the hex. + # build an integer and convert that to bytes. bits = 0 for bit in spki.getComponentByName("subjectPublicKey"): bits = bits << 1 | bit |