diff options
author | Yesudeep Mangalapilly <yesudeep@gmail.com> | 2011-08-11 02:49:34 +0530 |
---|---|---|
committer | Yesudeep Mangalapilly <yesudeep@gmail.com> | 2011-08-11 02:49:34 +0530 |
commit | 96e72eb4ec4481c66cbb4cf8f82c1aae537b4bc9 (patch) | |
tree | 27a6f0019d6398f4994c1a0be1ab319372a144b1 /tests | |
parent | fbaec865aea759244fa8a3d3ef2064992a679334 (diff) | |
download | rsa-96e72eb4ec4481c66cbb4cf8f82c1aae537b4bc9.tar.gz |
Removes unnecessary code that I had added.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pkcs1.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py index 82a3775..55098e2 100644 --- a/tests/test_pkcs1.py +++ b/tests/test_pkcs1.py @@ -30,12 +30,6 @@ class BinaryTest(unittest2.TestCase): message = struct.pack('>IIII', 0, 0, 0, 1) encrypted = pkcs1.encrypt(message, self.pub) - def _ord(a): - if is_integer(a): - return a - else: - return ord(a) - # Alter the encrypted stream a = encrypted[5] if is_bytes(a): |