diff options
-rw-r--r-- | vector/vector_format.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vector/vector_format.py b/vector/vector_format.py index 67a50f0..a3e7e81 100644 --- a/vector/vector_format.py +++ b/vector/vector_format.py @@ -34,6 +34,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +import sys import vector_util SCRIPT_USAGE = "USAGE: vector_format.py [openssl_binary]" @@ -46,6 +47,9 @@ RNG_SEED_BLINDING = 2 if __name__ == "__main__": + # ModInv fails otherwise... + sys.setrecursionlimit(int(1.5 * KEY_LENGTH)) + OPENSSL_BINARY = vector_util.openssl_binary(SCRIPT_USAGE) if len(OPENSSL_BINARY) > 0: |