From dbd47de45a7dd40ea1e2d1bc941ee07ddf6b1a59 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 8 Aug 2015 10:29:39 -0500 Subject: update comment --- src/cryptography/x509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3