diff options
author | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-10-19 23:02:58 +0200 |
---|---|---|
committer | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-10-19 23:02:58 +0200 |
commit | 8390495a9d7c574213fbff51af6f2aea249d81c7 (patch) | |
tree | ebd647848d44f9ad152b1766a42f756c0b47638e /lib/Crypto/PublicKey | |
parent | c22fa18c0dedb43a8b19dcb9b29512ba59e1764b (diff) | |
download | pycrypto-8390495a9d7c574213fbff51af6f2aea249d81c7.tar.gz |
Further fixed for python 3
Diffstat (limited to 'lib/Crypto/PublicKey')
-rw-r--r-- | lib/Crypto/PublicKey/RSA.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/PublicKey/RSA.py b/lib/Crypto/PublicKey/RSA.py index 31cd6fa..981b239 100644 --- a/lib/Crypto/PublicKey/RSA.py +++ b/lib/Crypto/PublicKey/RSA.py @@ -418,7 +418,7 @@ class RSAImplementation(object): der.decode(bitmap.payload[1:], True) if len(der)==2 and der.hasOnlyInts(): return self.construct(der[:]) - + # Try unencrypted PKCS#8 if der[0]==0: # The second element in the SEQUENCE is algorithmIdentifier. |