On Windows, when loading the crypto module with (module "crypto.lsp"), an error is thrown:
ERR: user error : cannot find crypto library
How to load the crypto library?
On Windows, when loading the crypto module with (module "crypto.lsp"), an error is thrown:
ERR: user error : cannot find crypto library
How to load the crypto library?
Copyright © 2021 Jogjafile Inc.
As documented in the module's page, it requires an openssl binary.
Currently (winter 2018, newLISP v.10.7.1), on Windows the module looks for a gnuwin32 distribution of openssl, which is outdated (last release 2008). Trying to use it anyway doesn't work for me.
The solution is to make your own copy of the crypto module (it's in
%NEWLISPDIR%\modules) and modify it to point to your openssl'slibcrypto.dllbinary. In my case, I didn't actually install the whole openssl distribution, but just copied the necessary file. This is thefileslist in the modified crypto module: