diff options
author | Michael Manganiello <adamantike@users.noreply.github.com> | 2017-01-17 13:33:08 -0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-01-17 17:33:08 +0100 |
commit | 2d81e0fe4b89398876da8a9027d1465a5bb4434b (patch) | |
tree | d37949454e2a741e21de3993113b5f08c30e12f1 /rsa/key.py | |
parent | d3727172cedb409613739be6af197c3b03cc163d (diff) | |
download | rsa-git-2d81e0fe4b89398876da8a9027d1465a5bb4434b.tar.gz |
Use iterative zip in Python 2 (#85)
Good catch, thanks!
Diffstat (limited to 'rsa/key.py')
-rw-r--r-- | rsa/key.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -491,7 +491,7 @@ class PrivateKey(AbstractKey): if priv[0] != 0: raise ValueError('Unable to read this file, version %s != 0' % priv[0]) - as_ints = tuple(map(int, priv[1:6])) + as_ints = map(int, priv[1:6]) key = cls(*as_ints) exp1, exp2, coef = map(int, priv[6:9]) |