|
@ -1,8 +1,8 @@ |
|
|
--- a/lib/Cryptodome/Math/_IntegerGMP.py
|
|
|
--- a/lib/Cryptodome/Math/_IntegerGMP.py
|
|
|
+++ b/lib/Cryptodome/Math/_IntegerGMP.py
|
|
|
+++ b/lib/Cryptodome/Math/_IntegerGMP.py
|
|
|
@@ -92,7 +92,7 @@ gmp_defs = """typedef unsigned long UNIX
|
|
|
|
|
|
int __gmpz_divisible_ui_p (const mpz_t n, UNIX_ULONG d); |
|
|
|
|
|
""" |
|
|
|
|
|
|
|
|
@@ -95,7 +95,7 @@ gmp_defs = """typedef unsigned long UNIX
|
|
|
|
|
|
if sys.platform == "win32": |
|
|
|
|
|
raise ImportError("Not using GMP on Windows") |
|
|
|
|
|
|
|
|
-lib = load_lib("gmp", gmp_defs)
|
|
|
-lib = load_lib("gmp", gmp_defs)
|
|
|
+lib = load_lib("libgmp.so.10", gmp_defs)
|
|
|
+lib = load_lib("libgmp.so.10", gmp_defs)
|
|
|