You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
389 B

  1. --- a/lib/Cryptodome/Math/_IntegerGMP.py
  2. +++ b/lib/Cryptodome/Math/_IntegerGMP.py
  3. @@ -95,7 +95,7 @@ gmp_defs = """typedef unsigned long UNIX
  4. if sys.platform == "win32":
  5. raise ImportError("Not using GMP on Windows")
  6. -lib = load_lib("gmp", gmp_defs)
  7. +lib = load_lib("libgmp.so.10", gmp_defs)
  8. implementation = {"library": "gmp", "api": backend}
  9. if hasattr(lib, "__mpir_version"):