- --- a/lib/Cryptodome/Math/_IntegerGMP.py
- +++ b/lib/Cryptodome/Math/_IntegerGMP.py
- @@ -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("libgmp.so.10", gmp_defs)
- implementation = {"library": "gmp", "api": backend}
-
- if hasattr(lib, "__mpir_version"):
|