2021-04-26 14:16:05 +02:00
|
|
|
LuaSec 1.0.1
|
2012-09-02 16:27:04 +02:00
|
|
|
------------
|
2012-09-02 16:15:49 +02:00
|
|
|
|
2014-01-29 21:43:33 +01:00
|
|
|
* OpenSSL options:
|
|
|
|
|
2019-10-31 15:34:27 +01:00
|
|
|
By default, this version includes options for OpenSSL 1.1.1.
|
2014-01-29 21:43:33 +01:00
|
|
|
|
|
|
|
If you need to generate the options for a different version of OpenSSL:
|
|
|
|
|
|
|
|
$ cd src
|
2019-10-09 19:49:58 +02:00
|
|
|
$ lua options.lua -g /usr/include/openssl/ssl.h > options.c
|
2014-01-29 21:43:33 +01:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2012-09-02 16:15:49 +02:00
|
|
|
* On Linux, BSD, and Mac OS X:
|
|
|
|
|
|
|
|
- Edit 'Makefile'
|
2012-09-02 16:32:26 +02:00
|
|
|
* Inform the path to where install the Lua modules (LUAPATH) and binaries
|
|
|
|
modules (LUACPATH)
|
2012-09-02 16:15:49 +02:00
|
|
|
* If Lua or OpenSSL are not in the default path, set the
|
|
|
|
variables INCDIR and LIBDIR.
|
|
|
|
* For Mac OS X, set the variable MACOSX_VERSION.
|
|
|
|
|
|
|
|
- Use 'make <platform>' to compile
|
|
|
|
* Platforms: linux, bsd, or macosx
|
|
|
|
|
|
|
|
- Use 'make install' to install the modules.
|
|
|
|
|
2014-01-29 21:43:33 +01:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2012-09-02 16:15:49 +02:00
|
|
|
* On Windows:
|
|
|
|
|
|
|
|
- Use the Visual C++ project to compile the library.
|
|
|
|
|
|
|
|
- Copy the 'ssl.lua' file to some place in your LUA_PATH.
|
|
|
|
|
|
|
|
- Copy the 'ssl.dll' file to some place in your LUA_CPATH.
|
2012-09-02 16:32:26 +02:00
|
|
|
|
|
|
|
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.
|