One more thing; you MAY want to use my hack for ssl.lua to load the dependencies you need (otherwise you may be loading libeay32.dll and ssleay32.dll from a different location, which may be 32bit or incompatible with ssl.dll): https://github.com/pkulchenko/ZeroBrane ... lua#L7-L15
Made a cross platform luasec lib for love2d. Compiled by love's luajit source code. https://github.com/26F-Studio/love-luasec
This is a CMake project, should be easy to use.