diff options
author | adamantike <mike@fmanganiello.com.ar> | 2016-01-28 14:31:40 -0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-02-05 16:23:09 +0100 |
commit | 6a50b3d2234aed8b5b0f62d3f5f30de08dfd7b88 (patch) | |
tree | 242520d220c86e66ab49082737e667d0cb9baa7f | |
parent | d0f1925bcd9c58d5ac7a3bc2d9686c602254eaeb (diff) | |
download | rsa-git-6a50b3d2234aed8b5b0f62d3f5f30de08dfd7b88.tar.gz |
Remove unneeded conditional on Jacobi function
-rw-r--r-- | rsa/prime.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rsa/prime.py b/rsa/prime.py index e4156ce..a449674 100644 --- a/rsa/prime.py +++ b/rsa/prime.py @@ -47,8 +47,6 @@ def jacobi(a, b): assert a > 0 assert b > 0 - if a == 0: - return 0 result = 1 while a > 1: if a & 1: |