New POW calculation module #1284
|
@ -1 +1 @@
|
||||||
/Ox /MD common.c winapi.c /link /DLL /OUT:libfastsolver.dll libcrypto.lib
|
/Ox /MD common.c winapi.c /link /DLL /OUT:libfastsolver.dll libeay32.lib
|
||||||
|
|
|
@ -18,7 +18,7 @@ import utils
|
||||||
codePath = os.path.dirname(__file__)
|
codePath = os.path.dirname(__file__)
|
||||||
|
|
||||||
if hasattr(sys, "winver"):
|
if hasattr(sys, "winver"):
|
||||||
dumbsolver.libcrypto = ctypes.WinDLL("libcrypto.dll")
|
dumbsolver.libcrypto = ctypes.WinDLL("libeay32.dll")
|
||||||
else:
|
else:
|
||||||
dumbsolver.libcrypto = ctypes.CDLL(ctypes.util.find_library("crypto"))
|
dumbsolver.libcrypto = ctypes.CDLL(ctypes.util.find_library("crypto"))
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user