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 | ce06c91a7be08d6effed185c54bd831f3562e008 (patch) | |
tree | 27a6f0019d6398f4994c1a0be1ab319372a144b1 /tests | |
parent | 87f8079ff5a601b03301f434603ef9ab045a0794 (diff) | |
download | rsa-git-ce06c91a7be08d6effed185c54bd831f3562e008.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): |